| thelastblack |
09-01-2011 03:54 AM |
how to install lamp in puppy 5.2.8
hey
i installed lamp on my 4gb flash disk and i install lamp .PET package from http://puppylinux.org/wikka/HiawathaServerMySQL but it doesnt work. i have hiawatha+php working but i cant make mysql to work..
i found that it created a rc.mysqld in /etc/init.d, but when i run it:
Code:
sh-4.1# /etc/init.d/rc.mysqld start
sh-4.1# 110901 13:22:22 mysqld_safe Logging to '/usr/local/var/vahidjoon.err'.
110901 13:22:23 mysqld_safe Starting mysqld daemon with databases from /usr/local/var
110901 13:22:23 mysqld_safe mysqld from pid file /usr/local/var/mysql.pid ended
and here is the output for mysql_install_db
Code:
sh-4.1# mysql_install_db
Installing MySQL system tables...
110901 12:58:46 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
mysqld: relocation error: /lib/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Installation of system tables failed! Examine the logs in
/usr/local/var for more information.
You can try to start the mysqld daemon with:
shell> /usr/local/libexec/mysqld --skip-grant &
and use the command line tool /usr/local/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/local/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/var that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com/. Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/local/bin/mysqlbug script!
alse tried :
Code:
sh-4.1# /usr/local/libexec/mysqld --skip-grant
110901 12:58:56 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
mysqld: relocation error: /lib/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
what's that error? i cant figure it out. Can it be problem because .PET was for older version? thx in advance
|