Put the game-18.09.2010.tar.gz into the directory below
PHP Code:
/usr
PHP Code:
cd /usr
PHP Code:
tar -xf game-18.09.2010.tar.gz
Now to install MySql
PHP Code:
cd /usr/ports/databases/mysql50-server/
PHP Code:
make install WITH_XCHARSET=all clean
PHP Code:
/usr/local/bin/mysql_install_db
PHP Code:
chown -R mysql /var/db/mysql/
PHP Code:
chgrp -R mysql /var/db/mysql/
PHP Code:
/usr/local/bin/mysqld_safe –user=mysql &
PHP Code:
/usr/local/bin/mysqladmin -u root password yourpassword
or give command
PHP Code:
ee /etc/rc.conf
PHP Code:
mysql_enable="YES"
PHP Code:
mysql -p
PHP Code:
quit
PHP Code:
/var/db
PHP Code:
cd /var/db
tar -xf mysql-18.09.2010.tar
PHP Code:
cd /root
PHP Code:
ee start
PHP Code:
#!/bin/sh
cd /usr/game && ./start.sh
PHP Code:
ee stop
PHP Code:
#!/bin/sh
cd /usr/game && ./stop.sh
Give command
PHP Code:
mysql -u root
When loged in
PHP Code:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'
PHP Code:
IDENTIFIED BY 'your_password' WITH GRANT OPTION;
PHP Code:
GRANT ALL PRIVILEGES ON *.* TO 'Hlg80'@'localhost'
PHP Code:
IDENTIFIED BY 'NvVRw4r8l25eB54i5OUI' WITH GRANT OPTION;
Wait to login
then give command
PHP Code:
./start
PM me for questions
Give thanks if i helped







