Guest GuestPaulGuest Posted January 31, 2008 Share Posted January 31, 2008 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! Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted January 31, 2008 Share Posted January 31, 2008 Yes, it should be possible. You would just need to give your IP access rights to access it on the TCH server. This is done simply in cPanel. Quote Link to comment Share on other sites More sharing options...
TCH-James Posted January 31, 2008 Share Posted January 31, 2008 I can confirm that this is allowed. As Bruce said you just need to add your allowed remote IPs into the MySQL configuration in cPanel. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.