我最先将MYSQL编译安装在/opt/mysql的
我用rm -rf mysql 将mysql文件报包删除了
现在我有将mysql重新安装在/usr/local/下
在创建库的时候问题如下:
[root@localhost mysql-4.0.16]# ./scripts/mysql_install_db
Didn't find /opt/mysql/libexec/mysqld
You should do a 'make install' before executing this script
[root@localhost mysql-4.0.16]# /usr/local/mysql/bin/mysql_install_db
Didn't find /opt/mysql/libexec/mysqld
You should do a 'make install' before executing this script
[root@localhost mysql-4.0.16]#