จะทำ Server ใหม่ ติดตั้ง CentOS 4.8 64 Bit เลือก Package น้อยสุด+ Percona-Server-server-51-5.1.47 ไม่สำเร็จสักที ลงหลายครั้งแล้วครับ จะขึ้น Error ประมาณนี้ครับ
[root@nongkhae ~]# cd Mysql bash: cd: Mysql: No such file or directory
[root@nongkhae ~]# ls anaconda-ks.cfg Desktop install.log install.log.syslog MySQL
[root@nongkhae ~]# cd MySQL
[root@nongkhae MySQL]# ls
limits.conf
my.cnf
Percona-Server-client-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm
Percona-Server-devel-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm
Percona-Server-server-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm
Percona-Server-shared-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm
rc.local
[root@nongkhae MySQL]# rpm -ivh Percona-Server-client-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm --nodeps --force
warning: Percona-Server-client-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm: V3 DSA signature: NOKEY, key ID cd2efd2a
Preparing...
########################################### [100%]
1:Percona-Server-client-5########################################### [100%]
[root@nongkhae MySQL]# rpm -ivh Percona-Server-shared-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm --nodeps --force
warning: Percona-Server-shared-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm: V3 DSA signature: NOKEY, key ID cd2efd2a
Preparing... ########################################### [100%]
1:Percona-Server-shared-5########################################### [100%]
[root@nongkhae MySQL]# rpm -ivh Percona-Server-server-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm --nodeps --force
warning: Percona-Server-server-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm: V3 DSA signature: NOKEY, key ID cd2efd2a
Preparing... ########################################### [100%]
1:Percona-Server-server-5########################################### [100%]
Warning: World-writable config file '/etc/my.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf' is ignored
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h
nongkhae password 'new-password'
Alternatively you can run:
/usr/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.
Please report any problems with the /usr/bin/mysqlbug script!
For commercial support please contact Percona at
http://www.percona.com/contacts.htmlNotes regarding SELinux on this platform:
=========================================
The default policy might cause server startup to fail because it is
not allowed to access critical files. In this case, please update
your installation.
The default policy might also cause inavailability of SSL related
features because the server is not allowed to access /dev/random
and /dev/urandom.
If this is a problem, please do the following:
1) install selinux-policy-targeted-sources from your OS vendor
2) add the following two lines to /etc/selinux/targeted/src/policy/domains/program/mysqld.te:
allow mysqld_t random_device_t:chr_file read;
allow mysqld_t urandom_device_t:chr_file read;
3) cd to /etc/selinux/targeted/src/policy and issue the following command:
make load
Warning: World-writable config file '/etc/my.cnf' is ignored
Warning:
World-writable config file '/etc/my.cnf' is ignored
Starting MySQL.[ OK ]
Giving mysqld 2 seconds to start
[root@nongkhae MySQL]#