BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: sshpt ที่ สิงหาคม 05, 2008, 16:02:17 PM
-
นำข้อมูลที่สำรอง นำเข้าเครื่องแม่ข่ายสำรองแล้วมีข้อความดังนี้ครับ
รูปที่ 1 เกิดขึ้นขณะ นำข้อมูลเข้าเกือบเสร็จแล้ว
รูปที่ 2-3 เกิดขึ้นขณะ Login เข้าเครื่องแม่ข่ายสำรองครับ
มันเกิดจากอะไร และแก้ไขยังไงครับ ;D
-
my.cnf ต้อง ปรับ max_allow_packet = 128M
และ error สองทำตามนี้
http://hosxp.net/index.php?option=com_smf&topic=3456
-
ใช้วิธี initial import จะดีกว่า เร็วด้วยครับ
-
ขอบคุณทุกท่าน ครับ ;D
ทำตามที่แนะนำแล้วครับแต่ยังมี Error ตามรูปที่ 2-3 อยู่เลยครับ
mysql>grant all on *.* to sa@'%' identified by 'sa' with grant option ;
mysql>grant super on *.* to sa@'%' identified by 'sa' ;
mysql>flush privileges ;
-
ยังมี error ดังรูปที่ 2 และ 3 อยู่เลยครับ ???
-
2 - 3 error คงต้องอธิบายวิธี ลง
mysql มาด้วยว่าทำแบบไหน
-
ผมใช้ OS FreeBSD ลง MySQL แบบไฟล์ครับ
./configure --with-charset=tis620 --with-xcharset=all --with-collation=tis620_thai_ci --with-innodb=yes
make WITH_CHARSET=tis620 WITH_XCHARSET=all WITH_COLLATION=tis620_thai_ci WITH_OPENSSL=yes BUILD_OPTIMIZED=yes WITH_ARCHIVE=yes WITH_FEDERATED=yes WITH_NDB=yes WITH_INNODB=yes install clean
/usr/local/bin/mysql_install_db
adduser mysql
chown -R mysql:mysql /usr/local/var
/usr/local/share/mysql/mysql.server start
/usr/local/bin/mysqladmin -u root password xxxxxx
cp /usr/local/share/mysql//my-huge.cnf /etc/my.cnf
pico /etc/my.cnf
chown root:sys /etc/my.cnf
chown 644 /etc/my.cnf
/usr/local/share/mysql/mysql.server restart
/usr/local/bin/mysql -u root -p
create database hos;
grant all on hos.* to sa@'%' identified by 'xxxxxx' with grant option;
grant super on *.* to sa@'%' identified by 'xxxxxx' with grant option;