October 15, 2021

Log Of Oyazhuryachna

Blog berbagi resource programming

Instal MySQL di openBSD

Seminggu instal mysql, akhirnya dengan refernsi resmi bisa juga, nih comand untuk instal mysql :

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf –
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db –user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe –user=mysql &

note : kalo ada command yang ga jalan, boleh di lewat ..

You may have missed