|
|
./configure --prefix=/VDS/APPS/mysql --with-unix-socket-path=/tmp/mysql.sock --localstatedir=/VDS/APPS/mysql/bin
make
make install
cd /VDS/APPS/mysql
ghost mysql # bin/mysql_install_db
mkdir: `/VDS/APPS/mysql/bin/mysql' exists but is not a directory
Installing all prepared tables
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/db.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/db.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/db.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/db.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
061209 1:13:19 [ERROR] /VDS/APPS/mysql/libexec/mysqld: Can't find file: './mysql/user.frm' (errno: 20)
Fill help tables
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/VDS/APPS/mysql/bin/mysqladmin -u root password 'new-password'
/VDS/APPS/mysql/bin/mysqladmin -u root -h ghost password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /VDS/APPS/mysql ; /VDS/APPS/mysql/bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the /VDS/APPS/mysql/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
ghost mysql # mkdir bin/mysql
mkdir: `bin/mysql' exists but is not a directory
#无法在/VDS/APPS/mysql/bin/下创建mysql目录 ,当前用户是root |
|