QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 743|回复: 0

HELP! HELP! HELP!关于MYSQL

[复制链接]
发表于 2002-12-13 20:24:13 | 显示全部楼层 |阅读模式
第一次装KINUX和MYSQL碰到不少问题,根据坛子里的文章安装MYSQL,解压后
在我输入了 "./configure --prefix=/usr/local/mysql"后出现以下内容"

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

mkdir: cannot create directory `/var/lib/mysql/mysql': Permission denied
chmod: failed to get attributes of `/var/lib/mysql/mysql': No such file or directory
mkdir: cannot create directory `/var/lib/mysql/test': Permission denied
chmod: failed to get attributes of `/var/lib/mysql/test': No such file or directory
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
ERROR: 1049  Unknown database 'mysql'
021213 20:11:26  Aborting

021213 20:11:26  ./bin/mysqld: Shutdown Complete

Installation of grant tables failed!

Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!

这如何解决呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 16:38 , Processed in 0.038059 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表