简体   繁体   中英

#1044 - Access denied for user 'A WEIRD USER'@'localhost' to database 'MY DATABASE'

I have problem loading some data from a CSV file to my table in the database and got an error said :

#1044 - Access denied for user 'A WEIRD USER'@'localhost' to database 'MY DATABASE'

As I know phpmyadmin logged in (Automatically when clicked on phpmyadmin icon in CPanel) as a user who doesn't have permission to run some queries and there is no button to log out from phpmyadmin and log in as my user

NOTE: this error is not only for load data from CSV file, but this error also comes on run some queries too! NOTE 2: I don't use localhost

我知道它迟到了,但我将我的数据库和表导出为 SQL 格式“NOT CSV”并且它导入没有问题:)

You can go around this importing the source tables, then copying the records into the target table.

Share more Info so I can help you

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