Help - Search - Members - Calendar
Full Version: Wordpress-connecting To The Database
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
Dagger
Hello,
I'm rather new to this whole PHP, My SQL side of web design, so it didn't surprise me when I got stuck here is my error:

Can’t select database

We were able to connect to the database server (which means your username and password is okay) but not able to select the carpediem_db database.

* Are you sure it exists?
* Does the user carpediem_u have permission to use the carpediem_db database?
* On some systems the name of your database is prefixed with your username, so it would be like username_carpediem_db. Could that be the problem?

So I've got my

Database Name: carpediem_db
And my user name: carpediem_u
And all privileges have been set

Just wondering what I've done wrong:
CODE
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'carpediem_db');

/** MySQL database username */
define('DB_USER', 'carpediem_u');

/** MySQL database password */
define('DB_PASSWORD', '***');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** 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', '');


Any suggestions or help is hugely appreciated
DroNix
QUOTE(Dagger @ Jul 3 2009, 06:48 AM) *
Any suggestions or help is hugely appreciated


hmm, the only thing that comes to mind is that you might be using a different language, and the database's encoding is not compatible with you're selected language.
This might help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.