Jump to content

Remote Mysql Connection


Guest GuestPaulGuest

Recommended Posts

Guest GuestPaulGuest

I use c++ and Im currently learning libcurl and the mysql C api, im currernly with ipowerweb and I was fine with not being able

to remote mysql (as in not being able to use my domain name to login to mysql account and select db and tables) localhost

was fine because I wrote curl scripts in c to emulate webbrowser post,get and put and made a specialy crafted php script to handle mysql querys

I needed for the programs I made (a simple role playing game with users and stats and other stuff) But this is besides the point. Ipowerweb upgraded

and now I cant even connect to localhost even through my php script and I can't get a hold of support and was thinking about transferring because

ipowerweb is just frustration waiting to explode. I Inqueried with TCH live sales support and I was told it was possible to remote mysql even with a shared hosting package is this true? if so then i can ditch the script and use pure mysql C api and be happy. To visually lay this out this is the c connection function

 

if(!mysql_real_connect(&mysql,"localhost","username","password",NULL,0,NULL,0))

 

i would rather replace localhost (cause it doesnt work in this case) to

 

if(!mysql_real_connect(&mysql,"MyFutureTCHDomainName.com,"username","password",NULL,0,NULL,0))

 

:)

if this is possible!

sorry for the rant and if this is unclear but i need to be clear on this!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...