1

我在mysql中运行这个命令:

mysql > show databases;

我的数据库publications在那里,所以我想使用它:

mysql > USE publications

但我收到一个错误:

ERROR 1049 (42000): Unknown database 'publications'
mysql > CREATE DATABASE publications;
ERROR 1007 (HY000): Can't create database 'publications'; database exists

我破坏了什么?它在拇指驱动器上的 XAMPP 上。这个错误是什么意思?

4

1 回答 1

1

you may not have permissions. open up the mysql database, and double check that mysql.db table has the user you are logged in as set up to read, write, etc.. as appropriate. after changing permissions, don't forget to FLUSH PRIVILEGES

于 2013-04-18T18:06:10.657 回答