Moving Database to Gigarank's server

yusha

New member
Hello, I've a wp site on my own server. But I would like to point the database server to Gigarank's mariadb. What would be the database host name for that as I am not hosting my database on localhost.
 

rockforlife

New member
If you mean you are copying your database to the database on gigarank. Then you should use localhost as the name of the server in your config file.

PHP:
/** MySQL hostname */
define('DB_HOST', 'localhost');


rockforlife said:
If you mean you are copying your database to a database on gigarank. Then you should use localhost as the name of the server in your config file.

PHP:
/** MySQL hostname */
define('DB_HOST', 'localhost');

At least that's my guess. I'm using mysql
 
do you want to transfer it to gigrank? Or do you want to keep it on your computer and use the account at gigarank?
If its the later, you would need to use the remote sql option in Cpanel on gigarank. You would need to input the info it ask for. I think it would be better to just upload everything to gigarank and create a db here. If you need help, there is a post about doing it and a plugin to help do it.
 

yusha

New member
I would like to host the database to the gigarank's server only. All other contents of wp (php files and contents) will be hosted in my own server. So what should I use in in the place of localhost in wp-config.php file..
 

GigaGreg

Moderator
Staff member
It should work with localhost, if not @"un4saken" would be able to help you in this case.
 

Genesis

Administrator
biobeo said:
I would like to host the database to the gigarank's server only. All other contents of wp (php files and contents) will be hosted in my own server. So what should I use in in the place of localhost in wp-config.php file..
I'm curious. Why would you want to store your database on our Server when obviously you have much more space available on your server than on Gigarank servers collectively?