执行:./configure\--prefix=/usr/local/mysql\--localstatedir=/usr/local/mysql/data\--disable-maintainer-mode\--with-mysqld-user=mysql\--with-unix-socket-path=/tmp/mysql.so...
执行:
./configure \
--prefix=/usr/local/mysql \
--localstatedir=/usr/local/mysql/data \
--disable-maintainer-mode \
--with-mysqld-user=mysql \
--with-unix-socket-path=/tmp/mysql.sock \
--without-comment \
--without-debug \
--without-bench
后,出现:
========================
Starting mysqld daemon with databases from /tmp/linuxSoft/mysql-5.0.51a-linux-i686/data
STOPPING server from pid file /tmp/linuxSoft/mysql-5.0.51a-linux-i686/data/local host.localdomain.pid
080328 11:06:30 mysqld ended
=========================================
日志文件localhost.localdomain.err内的内容:
080328 11:06:30 mysqld started
080328 11:06:30 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
080328 11:06:30 mysqld ended
我是新手,清具体点。谢谢!
你说那个目录不对,什么意思。那个内容是执行后,自动返回内容的一部分,不是我输入的。
也是在
[root@localhost mysql-5.0.51a-linux-i686]#
展开