ช่วยที่ครับ ทำตาม อ.tanoy999 แนะนำครับ แล้ว ขึ้น error อย่างนี้ แก้อย่างไรครับ
/* -----------------------
[root@server1 ~]# cd /tmp
[root@server1 tmp]# cd mysql
[root@server1 mysql]# rpm -ivh Percona-Server-* --nodeps --force
warning: Percona-Server-client-55-5.5.15-rel21.0.158.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Preparing... ########################################### [100%]
1:Percona-Server-shared-5########################################### [ 33%]
2:Percona-Server-client-5########################################### [ 67%]
ls: cannot access /var/lib/mysql/*.err: No such file or directory
ls: cannot access /var/lib/mysql/*.err: No such file or directory
Giving mysqld 5 seconds to exit nicely
3:Percona-Server-server-5########################################### [100%]
111022 14:57:37 [Note] Flashcache bypass: disabled
111022 14:57:37 [Note] Flashcache setup error is : ioctl failed
111022 14:57:38 [ERROR] /usr/sbin/mysqld: unknown option '--skip-locking'
111022 14:57:38 [ERROR] Aborting
111022 14:57:38 [Note] /usr/sbin/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/sbin/mysqld --skip-grant &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
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/bin/mysqlbug script!
Percona Server is distributed with several useful UDF (User Defined Function) from Maatkit.
Run the following commands to create these functions:
mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'"
mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'"
mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
See
http://code.google.com/p/maatkit/source/browse/trunk/udf for more details
[root@server1 mysql]#