When trying to repair db getting following error though Db user has all the privileges
bs_1_posts: Table ‘theil4hr_best_startups.bs_1_posts’ doesn’t exist
bs_1_comments: Table ‘theil4hr_best_startups.bs_1_comments’ doesn’t exist
bs_1_links: Table ‘theil4hr_best_startups.bs_1_links’ doesn’t exist
bs_1_options: Table ‘theil4hr_best_startups.bs_1_options’ doesn’t exist
bs_1_postmeta: Table ‘theil4hr_best_startups.bs_1_postmeta’ doesn’t exist
bs_1_terms: Table ‘theil4hr_best_startups.bs_1_terms’ doesn’t exist
bs_1_term_taxonomy: Table ‘theil4hr_best_startups.bs_1_term_taxonomy’ doesn’t exist
bs_1_term_relationships: Table ‘theil4hr_best_startups.bs_1_term_relationships’ doesn’t exist
bs_1_commentmeta: Table ‘theil4hr_best_startups.bs_1_commentmeta’ doesn’t exist
Upload all the files on example.com (This I have done)
Use the database created on domain.com (a domain other than that where I have uploaded the wordpress files.
Is it possible practically? If not then WHY?
If yes then HOW?
I tried to connect the database using below config.php settings
/** The name of the database for WordPress */
define('DB_NAME', 'databse_name'); {Note: created on domain.com}
/** MySQL database username */
define('DB_USER', 'database_username'); {Note: created on domain.com}
/** MySQL database password */
define('DB_PASSWORD', 'password'); {Note: created on domain.com}
/** MySQL hostname */
define('DB_HOST', 'IP of domain.com');
Thanks & Regards
Amjad Khan
]]>Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost:8888. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.