Tuesday, November 3, 2015

2:31 AM

MySQL (officially pronounced as /maɪ ˌɛskjuːˈɛl/ "My S-Q-L", and unofficially as /maɪ ˈsiːkwəl/ "My Sequel") is an open-source relational database management system (RDBMS); in July 2013, it was the world's second most widely used RDBMS, and the most widely used open-source client–server model RDBMS. It is named after co-founder Michael Widenius's daughter, My. The SQL acronym stands for Structured Query Language. The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation. For proprietary use, several paid editions are available, and offer additional functionality.
MySQL Logo

Instalasi MySQL
Instalasi MySQL database dapat dilakukan dengan langkah-langkah berikut,

# cd /usr/ports/databases/mysql56-server

Versi terbaru saat ini merupakan MySQL56.

# make install clean

Kemudian setelah MySQL berhasil diinstall, tambahkan service MySQL agar start ketika server start-up dengan mengedit file /etc/rc.conf

# /etc/rc.conf

Tambahkan baris berikut pada file /etc/rc.conf


Untuk pertama kali, jalankan MySQL dengan menggunakan perintah berikut,

# sh /usr/local/etc/rc.d/mysql-server start

Lalu jalankan perintah berikut untuk konfigurasi pertama kali, akan ada beberapa pengaturan untuk MySQL, lakukan pengaturan sesuai dengan yang anda inginkan

# mysql_secure_installation

Setelah MySQL berhasil dijalankan kemudian masuk ke MySQL dengan menggunakan user root, sebagai user dengan kewenangan yang paling tinggi,

# mysql -u root
Kemudian kita akan masuk ke MySQL, setelah itu untuk pertama kali lakukan pengubahan password root,

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('passwordbaru');
Newer Post Older Post


Post a Comment