Change Localtime and Update Linux
Solutions: Change and Update Time Zone (Bangkok ICT) on CentOS/Debian or other Linux rm -f /etc/localtime ln -s /usr/share/zoneinfo/Asia/Bangkok /etc/..
1.Login msyql command mode and query mysql check character below
mysql> show variables like "%character%";show variables like "%collation%";
2.edit my.cnf
[mysql]
default-character-set=utf8
[mysqld]
collation_server=utf8_general_ci
character_set_server=utf8
3. check charset mysql again
July 6, 2011
Solutions: Change and Update Time Zone (Bangkok ICT) on CentOS/Debian or other Linux rm -f /etc/localtime ln -s /usr/share/zoneinfo/Asia/Bangkok /etc/..
วิธีซ่อมแซม Database ง่ายๆ (Repair Database) ด้วยการเข้า SSH แล้วไปยังโฟลเดอร์ mysql ที่ OS Linux แต่ละอย่างเก็บไว้ Debian myisamchk -r /home/mysql/*/..
หลังจากที่เราใช้ MySQL Tunner ไปแล้ว พบว่า จำเป็นต้อง optimize tables แต่จะทำไงให้ optimize database ได้ทุกตาราง ซึ่งมีวิธีง่ายๆ สามารถใช้คำสั่งนี้ในก..
Ploblem: forget MySQL root password Solutions: Recover(hack) MySQL root password 1. Login as root 2. Stop the MySQL server by using command /etc/init...
find mysqld.log/mysql.log & slowly log file in DirectAdmin(Debian) 1.Login mysql command mysql -u dbuser -p 2.Query mysql variables mysql> show variab..
debian 6.0.10 php 5.5.36 directadmin custombuild 1.2 upgrade >> mysql 5.5.9 to 5.6.29 ..