Jump to content

How to connect to remote database?


Dodgebill

Recommended Posts

I am moving my store to a new host and I'm trying to work on the database on the new server but can't because it is not under my license until I change the DNS info over. I need to make changes now to get it all working before I do that.

I have already setup 'allow remote MySQL' on the new server. I changed the global.inc.php file with the new info but I get an error that does not accept the password of the user. I tried the username/passwords of both the new and old database and still nothing. It's finding the server but not letting me in

here is my globals file. The names have been changed obviously

$glob['adminFile'] = 'admin.php';

$glob['adminFolder'] = 'admin';

$glob['dbdatabase'] = 'user_DBname';

$glob['dbhost'] = 'newhostserver.com';

$glob['dbpassword'] = 'password';

$glob['dbprefix'] = '';

$glob['dbusername'] = 'newhost_username';

$glob['encoder'] = 'ioncube';

$glob['installed'] = '1';

$glob['license_key'] = 'license_key';

$glob['rootRel'] = '/backup/';

$glob['storeURL'] = 'http://www.mydomainname.com/backup';

Any tips on how to do this?

Thanks

Bill

Link to comment
Share on other sites

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.   Paste as plain text instead

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