简体   繁体   中英

Creating a database with a password , with phpmyadmin/mysql

whenever I try to execute this sql command:

create database sitename

I get this:

#1044 - Access denied for user 'adwebhst'@'localhost' to database 'sitename'

I tried this:

grant all privileges on webcamporn.* to  'adwebhst'@'localhost' identified by '628ff50f63620c1b'; 

PHPmyadmin doesnt even have an option of creating a database..

How do I deal with it

在GRAND ALL之后运行以下命令:

FLUSH PRIVILEGES;

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