Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingDatabases & MySQL right
  Reply to this topic Start new topic
left right
Dagger
post Jul 3 2009, 10:48 AM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 11-May 08
Member No.: 26,000



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
Go to the top of the page 
 
  + Quote Post
DroNix
post Jul 4 2009, 04:46 AM
Post #2


Ninja
Group Icon

Group: Community Helper
Posts: 224
Joined: 23-December 07
From: USA
Member No.: 5,477



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.
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 21st November 2009 - 04:50 PM