- 论坛徽章:
- 0
|
root@administration-desktop:/usr/local/mysql# 091223 19:14:21 mysqld_safe Logging to '/var/lib/mysql/administration-desktop.err'.
touch: cannot touch `/var/lib/mysql/administration-desktop.err': No such file or directory
chown: cannot access `/var/lib/mysql/administration-desktop.err': No such file or directory
091223 19:14:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
bin/mysqld_safe: line 96: /var/lib/mysql/administration-desktop.err: No such file or directory
bin/mysqld_safe: line 133: /var/lib/mysql/administration-desktop.err: No such file or directory
091223 19:14:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
bin/mysqld_safe: line 96: /var/lib/mysql/administration-desktop.err: No such file or directory
[1]+ Exit 1 bin/mysqld_safe --user=mysql
执行上一步scripts/mysql_install_db --user=mysql --no-defaults时结果:
Installing MySQL system tables...
OK
Filling help tables...
OK
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:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h administration-desktop password 'new-password'
Alternatively you can run:
./bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd ./mysql-test ; perl mysql-test-run.pl
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available at http://www.mysql.com/
Support MySQL by buying support/licenses from http://shop.mysql.com/ |
|