reklam alanı

Freebsd Mysql 5.5 Kurulumu


Merhaba arkadaşlar; Mysql 5.0 Sürümünden desteğini kaldıracak Mysql 5.5 destek verecek. İleride lazım olursa aşağıdakileri uygulayabilirsiniz. ! Putty login olunuz ve aşağıdakileri yazınız !

cd /usr

portsnap fetch extract

cd /usr/ports/databases/mysql55-client

make install clean

cd /usr/ports/databases/mysql55-server

make install clean

echo 'mysql_enable="YES"' >> /etc/rc.conf

/usr/local/etc/rc.d/mysql-server onestart

chown -R mysql /var/db/mysql/

chgrp -R mysql /var/db/mysql/

/usr/local/bin/mysqld_safe –user=mysql &

/usr/local/bin/mysqladmin -u root password yenisifre

mysql -p

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'

IDENTIFIED BY 'yenisifre' WITH GRANT OPTION;

GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "yenisifre";

GRANT ALL PRIVILEGES ON *.* TO 'mt2'@'localhost' IDENTIFIED BY 'mt2!@#';

flush privileges;

quit

/usr/local/etc/rc.d/mysql-server restart
reboot

Benzer Konular

0 yorum: