Bluehost : MySQL Bluehost Database connection

Host unlimited blogs, websites for $4.95 only with this web host
Register domain names for less than a dollar here
Get a VPS or dedicated server for less than $50 Signup Now

Bluehost is among our best web hosts. Sign up with bluehost here

This is a bluehost question posted by wjc54 on 27 October 2008

How do I access a MySQL database from a different Bluehost account.

BH account with database is wjcastorconsulting.net, I am attempting to access the database from talkingbooksplus.com. I have setup the remote MySQL access host to permit %.talkingbookplus.com

Using the following PHP code:

$hostname_connection = “www.wjcastorconsulting.net”;
$database_connection = “wjcastor_ComeHearBooks”;
$username_connection = “xxxxx”;
$password_connection = “xxxxxxxx”;
$connection = mysql_connect($hostname_connection, $username_connection, $password_connection) or trigger_error(mysql_error(),E_USER_ERROR);

I get the following error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘xxxxx’@'box175.bluehost.com’ (using password: YES) in …

Any ideas on what I am doing wrong?

You can read more about bluehost in detail or sign up now with bluehost web hosting

Related Posts :

This web hosting blog is proudly hosted with reliable Hostgator webhosting for only one cents through this hostgator coupon. If you're new here, you may want to subscribe to this web hosting RSS feed

Sorry, comments for this entry are closed at this time.