Jump to content

Need Help regarding Configuration of Remote MySQL Database !!!!


raj555

Recommended Posts

I am facing an issue over MySQL database.

 

I have a client whose website (PHP based) is hosted on a linux server located in UK. We are planning to install several features like link exchange directory (PHP), Forums(PHP) etc etc, but the hosting provider is asking for a hefty amount to create simple databases.

 

I am having several hosting accounts in Godaddy Hosting which provides me around 50-100 free MySql Databases. Is it possible to install application like link exchange directory (PHP) on a server "ABC" (MySql Version 5), but having MySql Database using a different service provider "XYZ" (MySql Version 5).

 

What is the procedure to install application using remote MySQL Server rather than a local MySql purchased from the hosting provider itself ??

 

When I install the application using remote mysql database ,it throws an error   >:(

 

Could not connect to MySQL server: Can't connect to MySQL server on 'https' (10061)

Could not select database datinghawk: Can't connect to MySQL server on 'https' (10061)

 

I am using Hostname as : https://mysqladmin2.secureserver.net/m50/11

username : datinghawk

Password :  :P

 

Do let me know what is the procedure to install a PHP application on a server using a remote MySQL located on different server. I am not an expert in Mysql so please post simple explanation if possible along with technical explanation   ::)

 

Kindly Help me Out  ??? 

 

 

Link to comment
Share on other sites

I'm no expert when it comes to MySQL not on 127.0.0.1, but I don't think the hostname should be given as an HTTP URL, as it isn't -- it's MySQL.  It should be something like:

 

mysqladmin2.securesever.net:3306

 

...assuming standard the MySQL port.  You'll have to check with your service provider for the proper port otherwise.

 

$0.02?

Link to comment
Share on other sites

Guest prozente

As was said before, you need to use the correct hostname. Using http:// won't cut it. You will also need to grant permissions for your MySQL user to allow connections from your other server. If you are using phpMyAdmin it is located under the "Privileges" link.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.