Most of the database tweeks needed are already setup for this image. Here are my notes though.


I had to reset the root password and add a new one:

svcadm disable percona
mysqld_safe --skip-grant-tables &

mysql -uroot

#set root password

 mysql> use mysql;
mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
mysql> flush privileges;
mysql> quit;

Add new user just for confluence with remote priveleges


mysql> CREATE USER 'confluence'@'localhost' IDENTIFIED BY 'my_password';
mysql> CREATE DATABASE confluence;
mysql> GRANT ALL ON confluence.* TO confluence@'' IDENTIFIED BY 'my_password';
mysql> flush privileges;
mysql> \q

Up the upload size

vi /opt/local/etc/my.cnf
# in the above file change max_allowed_packet=32M

Use "prstat" to find the process and kill with kill processnumber-here

Re-enable the database

svcadm enable percona