Wordpress database connection error
i think i am missing something in here;
define('DB_NAME', 'mydatabasename');
/** MySQL database username */
define('DB_USER', 'username');
do i need to enter accountname in front of them?
for examle; user_mydatabasename
if yes how cause i tried it too but nothing changed. thanks.
fixed it. thread can be closed.
8 Replies
mysql -u root -p
mysql> grant all privileges on *.* to wp_user@localhost identified by "wp_pa55w0rd";
mysql> create database wp_dbase;
mysql> quit
That's it
I probably won't run into this problem myself, but this thread is now part of the Great Internet Mind. In a couple years, someone will have the exact problem you had, Duck
To the future!
WordPress database error: [Duplicate entry '0-0' for key 'PRIMARY']
INSERT INTO `wp_nok2term_relationships` (`term_taxonomy_id`,`object_id`) VALUES ('0','0')
any idea?
thanks.
with a clean installation I've got the following errors during the installation:
~~![](<URL url=)http://img30.imageshack.us/img30/9113/75357809.png
And if I try to login with the given credentials it says:
![](~~
2) Make sure the user for the database has all permissions to the database
3) Restart wordpress installation
@hoopycat:
Thanks!
I probably won't run into this problem myself, but this thread is now part of the Great Internet Mind. In a couple years, someone will have the exact problem you had,
it, find this thread, and then – bam -- fixed. I am here to represent the future. DuckTo the future!
Dear Randall:
At first, I thought this was merely a coincidence:
~~![](<URL url=)http://imgs.xkcd.com/comics/wisdom_of_the_ancients.png
Then I looked at the mouse-over
Thanks for reading the Linode Forums. -rt~~