|
MySQL5.0.51a make install安装完成后没有scripts目录是怎么回事呢?
整个目录结构如下:
root@HBubuntu01:/tmp/mysql-5.0.51a# ls /usr/local/mysql/ -l
total 36
drwxr-xr-x 2 root root 4096 Feb 28 00:38 bin
drwxr-xr-x 3 root root 4096 Feb 28 00:38 include
drwxr-xr-x 2 root root 4096 Feb 28 00:38 info
drwxr-xr-x 3 root root 4096 Feb 28 00:38 lib
drwxr-xr-x 2 root root 4096 Feb 28 00:38 libexec
drwxr-xr-x 4 root root 4096 Feb 28 00:38 man
drwxr-xr-x 8 root root 4096 Feb 28 00:38 mysql-test
drwxr-xr-x 3 root root 4096 Feb 28 00:38 share
drwxr-xr-x 5 root root 4096 Feb 28 00:38 sql-bench
没有scripts目录,找不到旗下的mysql_install_db文件也就没法初始化数据库啊!该怎么解决呢?直接从源也就是/tmp/mysql-5.0.51a目录中复制过来一个scripts包括其下文件,可以吗? |
|