[root@(none) root]$ ipkg install mysql
Installing mysql (4.1.20-2) to /opt/...
Downloading
http://ipkg.nslu2-linux.org/feeds/op...0-2_mipsel.ipk
Configuring mysql
Starting MySQL................................... ERROR!
Successfully terminated.
[root@(none) root]$ rm /opt/var/lib/mysql/mysql/*.*
[root@(none) root]$ rmdir /opt/var/lib/mysql/mysql
[root@(none) root]$ /opt/bin/mysql_install_db
WARNING: The host '(none)' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
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:
/opt/bin/mysqladmin -u root password 'new-password'
/opt/bin/mysqladmin -u root -h (none) password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /opt ; /opt/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 /opt/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
http://shop.mysql.com
[root@(none) root]$
[root@(none) root]$ cd /opt ; /opt/bin/mysqld_safe &
[root@(none) /opt]$ Starting mysqld daemon with databases from /opt/var/lib/mysql
/opt/bin/mysqld_safe: eval: 1: Syntax error: "(" unexpected
[1] + Done(2) /opt/bin/mysqld_safe
[root@(none) /opt]$ chown -R root:root /opt/var/lib/mysql
[root@(none) /opt]$ /opt/etc/init.d/S70mysqld start
Starting MySQL................................... ERROR!