From MineOS Wiki
Jump to navigation Jump to search

Securing MySQL

The MySQL password is not set by default (blank), and can only be set when the MySQL daemon is running (upon first boot). To set the password, execute the following command as 'root':

# mysql_secure_installation

Disabling MySQL

If you are certain you have no need for MySQL, either for websites or for your Minecraft server mods, you may remove it from the services list.

# vi /etc/rc.conf

Remove mysqld from the list


PhpMyAdmin is available as an addon. To install, ensure you have first secured MySQL. Then, as root:

# cd /usr/games/minecraft/addons
# wget
# chmod +x
# ./

Enabling PHP for PhpMyAdmin

PHP is only permitted to execute in /var/www/hiawatha/admin by default, follow instructions to enable PHP for /var/www/hiawatha/phpmyadmin (or you may enable PHP for all directories if you choose).

PhpMyAdmin is now accessible via https://ip-address/phpmyadmin. Note: HTTPS is required for PhpMyAdmin.