Error Establishing Connection on Hosted Database
-
Isnt it possible to connect a localhost website to a hosted database…? Because I cant get it work, I have checked that the table names does not go over each other and that the connection information is correct, but still I cant get it work…? Why is that?
The section for database connection in the wp-config.php file looks like this:
/** The name of the database for WordPress */ define('DB_NAME', '*my_database*'); /** MySQL database username */ define('DB_USER', '*my_username*'); /** MySQL database password */ define('DB_PASSWORD', '*my_password*'); /** MySQL hostname */ define('DB_HOST', '*my_host*'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', '');
Every field is correct, of course I changed them here to not give out my database connection to everyone… ??
I have checked with my host that the database is up running, is there something else I should check with them? They got 24/7 live support, so just tell me! ?? (One.com)
The reason I want the database to be hosted and not the website is because I want to develop a plugin, but I dont want to go trough FileZilla or something familiar to upload files to the website. But I still dont want to host the database ?? ??
- The topic ‘Error Establishing Connection on Hosted Database’ is closed to new replies.