mysql reinstall



rpm -qa myql
mysql-4.1.20-2.RHEL4.1.0.1

mysql --version

rpm -e mysql-4.1.20-2.RHEL4.1.0.1 --nodeps

cat /proc/cpuinfo
cat /var/log/dmesg
 
  2 Linux version 2.6.9-67.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP
         Wed Nov 7 13:56:44 EST 2007



cat /etc/redhat-release

Red Hat Enterprise Linux AS release 4 (Nahant Update 6)

uname -a

x86_64


ftp://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-4.1/MySQL-server-standard-4.1.22-0.rhel4.x86_64.rpm



sudo rpm -i --force MySQL-server-standard-4.1.22-0.rhel4.x86_64.rpm
sudo rpm -i MySQL-client-standard-4.1.22-0.rhel4.x86_64.rpm


sudo ln -s /home/*/tools/jdk1.6.0_13/bin/jar /usr/bin/jar
sudo ln -s /home/*/tools/jdk1.6.0_13/bin/javac /usr/bin/javac

grant all privileges on * to 'ap****'@'localhost' identified by '123456' ;

你可能感兴趣的:(mysql,linux,redhat,gcc)