ผู้เขียน หัวข้อ: รบกวนสอบถามอาจารย์ทั้งหลายคะติดตั้ง mysql แล้วเป็นแบบนี้แก้ไขไงดีคะT_T  (อ่าน 5774 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ tonkawhom

  • Sr. Member
  • ****
  • กระทู้: 251
  • Respect: 0
    • ดูรายละเอียด
[root@sobprab2 mysql]# rpm -ivh MySQL-server-percona-5.1.39-8.rhel5.x86_64.rpm -
-nodeps --force
Preparing...                ########################################### [100%]
   1:MySQL-server-percona   ########################################### [100%]
120716 14:32:33 [ERROR] /usr/sbin/mysqld: unknown variable 'innodb_file_per_tabl
e=1'
120716 14:32:33 [ERROR] Aborting

120716 14:32:33 [Warning] Forcing shutdown of 1 plugins
120716 14:32:33 [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.

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/bin/mysqlbug script!

Starting MySQL.Manager of pid-file quit without updating file.[FAILED]
Giving mysqld 2 seconds to start
Rujira Sudjai
Sobprab Hospital Tel. 054-296085 ต่อ 115
E-Mail = sobprabhospital@hotmail.com
SERVER : CentOS 5.3 MySQL 5.1.39 percona-log Ram 8 G
SLAVE   : CentOS 5.3 MySQL 5.1.39 percona-log Ram 4 G
HosXp Version 3.53.9.21
ขึ้นระบบ 1 พ.ย 2547 โดย อ.ชัยพร สุรเตมีย์กุล อ.วีระวัฒน์ ใจอินผล ที่ปรึกษา

ออฟไลน์ pop_hosxp

  • Hero Member
  • *****
  • กระทู้: 3,128
  • Respect: +38
    • ดูรายละเอียด
    • Phanomphrai Hospital
ต้องแก้ทีละอย่างดูก่อน ตอนนี้ error คือ innodb_file_per_table=1 ให้แก้เป็น innodb_file_per_table เฉย ๆ ไม่มี =1 ครับ แล้วลองติดตั้งใหม่ดูครับ แต่ทางที่ดีส่ง my.cnf ขึ้นมา หรือไม่ก็ใช้ BMSXtraBackup เลยครับ
pop434241@gmail.com
รพ.พนมไพร จ.ร้อยเอ็ด www.phanomphrai.net

ออฟไลน์ tonkawhom

  • Sr. Member
  • ****
  • กระทู้: 251
  • Respect: 0
    • ดูรายละเอียด
พี่คะถ้าลง mysql ใหม่ ฐานข้อมูลที่เป็น InnoDB มันจะยังใช้งานได้อยู่มั้ยคะ พอจะมีวิธีกู้ยังไงบ้าง
Rujira Sudjai
Sobprab Hospital Tel. 054-296085 ต่อ 115
E-Mail = sobprabhospital@hotmail.com
SERVER : CentOS 5.3 MySQL 5.1.39 percona-log Ram 8 G
SLAVE   : CentOS 5.3 MySQL 5.1.39 percona-log Ram 4 G
HosXp Version 3.53.9.21
ขึ้นระบบ 1 พ.ย 2547 โดย อ.ชัยพร สุรเตมีย์กุล อ.วีระวัฒน์ ใจอินผล ที่ปรึกษา

ออฟไลน์ tonkawhom

  • Sr. Member
  • ****
  • กระทู้: 251
  • Respect: 0
    • ดูรายละเอียด
ใช้สั่ง mysql_upgrade แล้วมันขึ้นแบบนี้อะคะแก้ไขยังไง
sobprab.xrayxn
Error       :    Table 'sobprab.xrayxn' doesn 't exist
Status     :     Operation  failed

ทำยังไงให้ใช้ฐานนี้ได้อีก ???
Rujira Sudjai
Sobprab Hospital Tel. 054-296085 ต่อ 115
E-Mail = sobprabhospital@hotmail.com
SERVER : CentOS 5.3 MySQL 5.1.39 percona-log Ram 8 G
SLAVE   : CentOS 5.3 MySQL 5.1.39 percona-log Ram 4 G
HosXp Version 3.53.9.21
ขึ้นระบบ 1 พ.ย 2547 โดย อ.ชัยพร สุรเตมีย์กุล อ.วีระวัฒน์ ใจอินผล ที่ปรึกษา