Add to FAQ – how to get remote host to work
-
There are a lot of messages posted about the “SQLSTATE[28000] [1045] Access denied for user” message. Most of the time the issue seems to be because wordpress & joomla are on 2 different hosts.
I wanted to share what I did to make it work without having to download the SQL database from phpMyAdmin.
STEP 1: because Joomla is on a different server you have to use the right server information. You can’t use localhost so…
Hostname = IP address of Joomla hosting serverSTEP 2: Enter database information per plugin instructions and Test Connection
When you test the connection in the plugin you will get the error:"SQLSTATE[28000] [1045] Access denied for user 'DATABASEUSER'@'SOME-WEBSITE-DOMAIN-OR-IP-ADDRESS' (using password: YES)
STEP 3: Go into the Cpanel of the Joomla server, go down to Database section and click “Remote MySQL”. There you can add an access host. Enter the access host as the SOME-WEBSITE-DOMAIN-OR-IP-ADDRESS and click add host.
This allows your new server access to your old server remotely and when testing the database again it should give you a successful message.
- The topic ‘Add to FAQ – how to get remote host to work’ is closed to new replies.