Tuesday, February 14, 2017

Upgrade MySQL 5.5 to 5.6 Ubuntu

Lakukan update sistem dengan cara :
sudo apt-get update && apt-get upgrade -y 
Backup database Anda :
mysqldump --lock-all-tables -u root -p --all-databases > dump.sql
Kemudian lakukan instalasi paket :
sudo apt-get install mysql-server-5.6
Langkah terakhir, masukkan data yang sudah kita backup :
mysql -u root -p < dump.sql
Semoga bermanfaat.
Upgrade MySQL 5.5 to 5.6 Ubuntu

2 Beri Komentar:

  1. gan kalo ubuntu 16.04 gimana carax?

    ReplyDelete
    Replies
    1. sudo add-apt-repository ppa:sbeattie/gcc-pie-amd64
      sudo apt-get update

      apt install mysql-server-5.6 mysql-client-5.6

      Delete