VINE4.0 からapt-get upgradeしたら MySQL 5.0.27があがらない・・・・

10:MySQL-server ########################################### [ 70%]
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 genu password ‘new-password’
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be able to use the new GRANT command! Please report any problems with the /usr/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 Starting MySQL...................................[FAILED] # rpm -qa | grep MySQL MySQL-devel-5.0.27-0vl6 MySQL-embedded-5.0.27-0vl6 MySQL-Max-5.0.27-0vl6 perl-DBD-MySQL-4.001-0vl1 MySQL-shared-5.0.27-0vl6 MySQL-server-5.0.27-0vl6 MySQL-client-5.0.27-0vl6 検索したらリビルトして入れなおしたら、たちあがったというかたが ちらほらいたので、やってみる。 #cd /usr/local/src #wget http://updates.vinelinux.org/VinePlus/4.2/SRPMS.extras/MySQL-5.0.27-0vl6.src.rpm rpm -ivh MySQL-5.0.27-0vl6.src.rpm # cd /usr/src/vine/SPECS/ # ls -l 合計 36 -rw-r--r-- 1 root root 34814 12月13日 2007 mysql50-vl.spec #rpm -bb mysql50-vl.spec かなーり 時間かかります /usr/src/vine/RPMS/i386の中にrpmができます。 今回 serverとmaxを 入れなおして  initt 6 で立ち上げなおしたら 立ち上がるようになりました。 # cd /usr/src/vine/RPMS/ [root@localhost RPMS]# ls -l 合計 24 drwxr-xr-x 2 root root 4096 12月14日 2007 athlon/ drwxr-xr-x 2 root root 4096 1月29日 20:07 i386/ drwxr-xr-x 2 root root 4096 12月14日 2007 i486/ drwxr-xr-x 2 root root 4096 12月14日 2007 i586/ drwxr-xr-x 2 root root 4096 12月14日 2007 i686/ drwxr-xr-x 2 root root 4096 12月14日 2007 noarch/ cd i386/ # ls -l 合計 50928 -rw-r--r-- 1 root root 3354230 1月29日 20:07 MySQL-Max-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 6097674 1月29日 20:07 MySQL-bench-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 6489432 1月29日 20:07 MySQL-client-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 3667208 1月29日 20:07 MySQL-devel-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 3574227 1月29日 20:07 MySQL-embedded-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 2730575 1月29日 20:07 MySQL-ndb-extra-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 1851642 1月29日 20:07 MySQL-ndb-management-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 1622499 1月29日 20:07 MySQL-ndb-storage-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 6238196 1月29日 20:07 MySQL-ndb-tools-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 14841698 1月29日 20:06 MySQL-server-5.0.27-0vl6.i386.rpm -rw-r--r-- 1 root root 1573119 1月29日 20:07 MySQL-shared-5.0.27-0vl6.i386.rpm # mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 220 to server version: 5.0.27-Max Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql>
mysql>
mysql> SHOW VARIABLES LIKE ‘character\_set\_%’;
+————————–+——–+
| Variable_name | Value |
+————————–+——–+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
+————————–+——–+
7 rows in set (0.01 sec)
mysql>

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です