+ Reply to Thread
Results 1 to 3 of 3

Thread: MySQL Bluehost Database connection

  1. #1
    Join Date
    Apr 2008
    Location
    Denver, Colorado
    Posts
    2

    Default MySQL Bluehost Database connection

    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?

    Thanks for the help in advance.

    Bill

  2. #2
    Join Date
    Jul 2006
    Location
    Portland, OR
    Posts
    279

    Default

    Quote Originally Posted by wjc54 View Post
    Any ideas on what I am doing wrong?
    I believe that a BlueHost admin needs to adjust the firewall to allow external access from a specific IP address. Contact support and ask for this to be done.

    If you don't have a fixed IP address at the remote location, I'm not sure that this can be done.

  3. #3
    Join Date
    Apr 2008
    Location
    Denver, Colorado
    Posts
    2

    Default

    Quote Originally Posted by dkinzer View Post
    I believe that a BlueHost admin needs to adjust the firewall to allow external access from a specific IP address. Contact support and ask for this to be done.

    If you don't have a fixed IP address at the remote location, I'm not sure that this can be done.
    Thanks I will contact them and see what is required.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts