(Sistem resetlenince ayarların kaybolmaması için /etc/rc.conf içerisindeki ifconfig_** satırının en sonuna mtu 1458 yazabilirsiniz:
pkg install -y mysql55-server mysql55-client
echo 'mysql_enable="YES"' >> /etc/rc.conf
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
service mysql-server onestart
/usr/local/bin/mysqld_safe --user=mysql &
/usr/local/bin/mysqladmin -u root password SiFRE
mysql -pSiFRE
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'
IDENTIFIED BY 'SiFRE' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "SiFRE";
flush privileges;
quit
service mysql-server onerestart
* Bitti. Root Şifresi: SiFRE
Mysql 5.6 Kurulum Komutları
pkg install -y mysql56-server mysql56-client
echo 'mysql_enable="YES"' >> /etc/rc.conf
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
service mysql-server onestart
/usr/local/bin/mysqld_safe --user=mysql &
/usr/local/bin/mysqladmin -u root password SiFRE
mysql -pSiFRE
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'
IDENTIFIED BY 'SiFRE' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "SiFRE";
flush privileges;
quit
service mysql-server onerestart
* Bitti. Root Şifresi: SiFRE