Closed Thread
Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By strict99
  • 1 Post By strict99

Thread: migrated Strictlyhonest.com to X10hosting - DB connection problem

  1. #1
    strict99 is offline x10Hosting Member strict99 is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    21

    Arrow migrated Strictlyhonest.com to X10hosting - DB connection problem

    Hi,

    I've uploaded the website (wordpress) to my add-on domain (strictlyhonest.com) and imported the database.
    I've editted wp-config.php to the right details but still I get a database connection error.
    I don't have a clue about what's wrong.

    Thanks in advance,

    greetings,
    Tyrone
    dinomirt96 likes this.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: migrated Strictlyhonest.com to X10hosting - DB connection problem

    Try running the following test script with your info filled in.
    Make sure the user has been added to the DB with ALL PRIVILEGES

    Code:
    <?php
    
    define('DB_DATABASE', 'igor_wp2011');
    
    define('DB_USER', 'igor_wp2011');
    
    define('DB_PASSWORD', 'Viaduct'); 
    
    define('DB_HOST', 'localhost');
    
    $mysqli = new mysqli('localhost', DB_USER, DB_PASSWORD, DB_DATABASE);
    
    if ($mysqli->connect_error) {
        die('Connect Error (' . $mysqli->connect_errno . ') '
                . $mysqli->connect_error);
    }
    
    $q = "SHOW TABLES";
    
    $result = $mysqli->query( $q );
    
    while($n = $result->fetch_row(  )){
    
    echo $n[0];
    echo "\n<br />";
    
    }
    
    $result->free();
    $mysqli->close();
    
     ?>
    Nothing is always absolutely so.

  3. #3
    strict99 is offline x10Hosting Member strict99 is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    21

    Wink Re: migrated Strictlyhonest.com to X10hosting - DB connection problem

    I get this reult now:

    Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'strict99_wp273'@'localhost' (using password: YES) in /home/strict99/public_html/strictlyhonest.com/wp-config.php on line 11
    Connect Error (1045) Access denied for user 'strict99_wp273'@'localhost' (using password: YES)

    ---------- Post added at 07:04 PM ---------- Previous post was at 06:58 PM ----------

    Quote Originally Posted by strict99 View Post
    I get this result now:

    Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'strict99_wp273'@'localhost' (using password: YES) in /home/strict99/public_html/strictlyhonest.com/wp-config.php on line 11
    Connect Error (1045) Access denied for user 'strict99_wp273'@'localhost' (using password: YES)
    I've also tried to add a new db user with all rights and changed yur test script to the new user, this was the new result:

    wp_blc_filters
    wp_blc_instances
    wp_blc_links
    wp_blc_synch
    wp_bp_activity
    wp_bp_activity_meta
    wp_bp_friends
    wp_bp_groups
    wp_bp_groups_groupmeta
    wp_bp_groups_members
    wp_bp_messages_messages
    wp_bp_messages_notices
    wp_bp_messages_recipients
    wp_bp_notifications
    wp_bp_xprofile_data
    wp_bp_xprofile_fields
    wp_bp_xprofile_groups
    wp_commentmeta
    wp_comments
    wp_gdsr_data_article
    wp_gdsr_data_category
    wp_gdsr_data_comment
    wp_gdsr_ips
    wp_gdsr_moderate
    wp_gdsr_multis
    wp_gdsr_multis_data
    wp_gdsr_multis_trend
    wp_gdsr_multis_values
    wp_gdsr_templates
    wp_gdsr_votes_log
    wp_gdsr_votes_trend
    wp_kaltura_widgets
    wp_links
    wp_liveshoutbox
    wp_liveshoutbox_useronline
    wp_liveshoutboxarchive
    wp_options
    wp_pollsa
    wp_pollsip
    wp_pollsq
    wp_postmeta
    wp_posts
    wp_sfdefpermissions
    wp_sfforums
    wp_sfgroups
    wp_sflinks
    wp_sflog
    wp_sfmembers
    wp_sfmemberships
    wp_sfmessages
    wp_sfmeta
    wp_sfnotice
    wp_sfoptions
    wp_sfpermissions
    wp_sfpostratings
    wp_sfposts
    wp_sfroles
    wp_sfsettings
    wp_sftagmeta
    wp_sftags
    wp_sftopics
    wp_sftrack
    wp_sfusergroups
    wp_sfwaiting
    wp_statpress
    wp_term_relationships
    wp_term_taxonomy
    wp_terms
    wp_usermeta
    wp_users
    wp_yarpp_keyword_cache
    wp_yarpp_related_cache

    Fatal error: Call to undefined function wp() in /home/strict99/public_html/strictlyhonest.com/wp-blog-header.php on line 14

    ---------- Post added at 07:10 PM ---------- Previous post was at 07:04 PM ----------

    yes

    After using the original script again , but now with the NEW db user I had created, it suddenly works!!
    I'm happy, many many thanks

    Please check if something is prohibited here so I can fix it immediately to avoid problems.

    many thanks in advance
    karimirt47 likes this.

  4. #4
    strict99 is offline x10Hosting Member strict99 is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    21

    Arrow Re: migrated Strictlyhonest.com to X10hosting - DB connection problem

    chopin server seems 'stuck'

Closed Thread

Similar Threads

  1. Unsecured connection to x10hosting.com
    By zzzj_2812 in forum Free Hosting
    Replies: 5
    Last Post: 03-25-2011, 12:59 PM
  2. Replies: 0
    Last Post: 07-09-2010, 12:58 PM
  3. x10hosting Secure WebDisk connection not working
    By rbushlow in forum Free Hosting
    Replies: 3
    Last Post: 06-14-2010, 02:23 PM
  4. Host 'absolut.x10hosting.com' - many connection errors
    By wibtgolf in forum Free Hosting
    Replies: 2
    Last Post: 02-23-2010, 09:14 AM
  5. Max FTP connection that x10hosting can handle?
    By YCadmin in forum Free Hosting
    Replies: 2
    Last Post: 12-25-2008, 12:40 AM

Tags for this 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
x10hosting free hosting for the masses
dedicated servers