简体   繁体   中英

Error 1044 access denied for user ''@'localhost' to database

I just installed Wampserver and I'm trying to create a new database but once I type a name for it and click create, I get this error "#1044 - access denied for user ''@'localhost' to database". I would appreciate any help.

When you login to MySQL, phpMyAdmin you have to use a real account.

WampServer sets the root account up without a password, so

Use Username = root

And leave Password = [blank]

Also WAMPServer installs both MySQL and mariaDB . Both are actually activated by default, so either disable the one you dont want to use (and switch the other to use port 3306) Or make sure you select the correct DBMS in the dropdown on the phpMyAdmin login page

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM