- 论坛徽章:
- 0
|
我的这是系统自带的,
[q@qq ~]$ service mysqld start
touch: cannot touch `/var/log/mysqld.log': Permission denied
chown: changing ownership of `/var/log/mysqld.log': Operation not permitted
chmod: changing permissions of `/var/log/mysqld.log': Operation not permitted
Initializing MySQL database: mkdir: cannot create directory `/var/lib/mysql/mysql': Permission denied
chmod: cannot access `/var/lib/mysql/mysql': No such file or directory
mkdir: cannot create directory `/var/lib/mysql/test': Permission denied
chmod: cannot access `/var/lib/mysql/test': No such file or directory
Installing MySQL system tables...
090810 18:46:43 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090810 18:46:43 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090810 18:46:43 [Warning] Can't create test file /var/lib/mysql/qq.lower-test
090810 18:46:43 [Warning] Can't create test file /var/lib/mysql/qq.lower-test
090810 18:46:43 [Warning] One can only use the --user switch if running as root
ERROR: 1049 Unknown database 'mysql'
090810 18:46:44 [ERROR] Aborting
090810 18:46:44 [Note] /usr/libexec/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/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 /usr/bin/mysqlbug script!
[FAILED]
chown: changing ownership of `/var/lib/mysql': Operation not permitted |
|