Hello everyone, I want to know that Is it possible to Install Wordpress on Hosting 1 and its Database on Hosting 2(Different Hosting), If it is possible Please tell me How? Thanks in advance feel free to ask question if you have any. Regards
I don't understand your question. If you are going to install Wordpress on 2 different web hosting accounts, you will need 2 MySQL databases - one on each hosting account.
No I have a hosting which don't have Mysql and i have installed wordpress on that hosting and i have other hosting which have SQL facility so i want to create mysql database on that hosting now i want to connect them.
wp-config.php, does not exist in a downloaded copy of WordPress; you need to create it. The wp-config-sample.php file is provided as an example to work from. Advanced settings and examples are provided below. To change the wp-config.php file for your installation, you will need this information: Database Name Database Name used by WordPress Database Username Username used to access Database Database Password Password used by Username to access Database Database Host The hostname of your Database Server(here you write your other site adress) PHP:
Put the wordpress files in one hosting... Then create SQL Database in second hosting.. Then Goto your site it take you to the installation page.. Now you can enter the SQL Database and user details as in the second Hosting account
I dont think so this can happen. You can export the database in hosting1 and import it to hosting2...
You can surely do this. There are many sites on the web who has pages in one server and database on other server. All you need to do is that you need to know the database server url of your second hosting account, where you can login with your DB user and password. Then just put those authentication credentials in your WordPress configuration. Now if you can't find the database server url, then you can set it in your hosting account which is normally private to you only, or that can be given to you by your hosting provider.
This definitely can be done, but can you please tell me why you need to do this? Open up wp-config.php from your root folder and find define('DB_HOST', 'localhost'); Change localhost to the hostname of the server with your database, should be the ip address of the server. But again, why all this trouble?