![]() |
|
|
|
||||||||||
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
I would like to have domain and files from one server and only the wordpress database from another server.
When I changed the wp-config.php with Database username and password. It showing error establishing the database. What should I put in Host Name: instead of "localhost" ? Please help me. Regards, Owen |
|
#2
|
||||
|
||||
|
u created a new db in new host ? u need to import that db to new host first
also u need to update user , database name , password in wp-config.php no need to change localhost
__________________
|
|
#3
|
|||
|
|||
|
no, I would like to run the database from different server. Instead of local host I tested with my IP of the existing database server. That too showing error.
|
|
#4
|
||||
|
||||
|
some hosts block access db via ips so u need to look permissions first
__________________
|
|
#5
|
|||
|
|||
|
How to check that ? Should I ask our hosts to enable that permission, or can we check from cpanel ?
|
|
#6
|
||||
|
||||
|
i think in cpanel db link u can see i remember such option because i was trying to add access from other hosts for db last time
__________________
|
|
#7
|
|||
|
|||
|
When we create USER for database, we'll give all access for the user. But I'm not sure how this will work for other server access. Let me ask our hosts.
|
|
#8
|
|||
|
|||
|
Your going to need to allow offsite connections going to your MySQL database.
|
|
#9
|
|||
|
|||
|
I think you should consult this to your hosting support. Not all hosting allow this kind of tricks
|
|
#10
|
|||
|
|||
|
You have to config cPanel (if your using linux) to allow Remote MYSQL.
Just a question, but why would you want a WP DB to be 3rd Party... Its so small, why not have it on the hosting where the site is hosted? |
|
#11
|
||||
|
||||
|
You will have to add the remote IP address of your database server first from the cPanel --> MySQL --> Enter the IP address in the Access Host section and click on Add Host. You can do this if your cpanel theme is set to x2
If your cPanel theme is set to x3 then you can add remote IP address of your database server from the cPanel --> Remote MySQL --> Enter the IP address of the remote database server and click on Add Host. Once you add the IP address of Remote host then you will have to change the host name to your IP address in your configuration file, username, password and database.
__________________
AccuWebHosting.Com - Windows Hosting Expert ASP.NET 3.5 | SQL 2005 Database | Uptime Guarantee | Affiliates - $50 Per Sale | Website Hosting Directory |
|
#12
|
|||
|
|||
|
Quote:
Quote:
|
![]() |
| Bookmarks |
| Tags |
| wordpress database move, wp database |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Transferring a database from server to server | jc@ukzone.com | MySQL | 4 | Jun 19th 2008 9:49 am |
| Help with very simple server code | Blink | JavaScript | 0 | Dec 28th 2007 4:14 pm |
| How to Connect to database on a server using VBScript located on different server? | sagargemini | Programming | 1 | Jul 31st 2007 9:36 am |
| Transfer mysql database server to server | PinoyIto | MySQL | 2 | Nov 30th 2006 12:42 am |
| IIS server, connection to offsite database server | Hazzardusa | ASP | 9 | Aug 24th 2005 4:13 am |