You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
darthsteven edited this page Apr 29, 2013
·
6 revisions
Parrot comes with a MySQL server instance, that will tune itself to the size of VM it's provisioned on. A default MySQL user is set up for accessing databases from both guest and host OS.
Accessing
You can access the MySQL server from the host machine via port forwarding using the following details:
So you can use the following command line to connect:
mysql -u root -proot -h 127.0.0.1 -P 3306
From either the guest or host.
Default MySQL config
The default MySQL config supplied with Parrot contains some performance optimisations depending on the amount of memory the guest VM has. These are specified in the /etc/mysql/conf.d/parrot.conf file, which is auto-generated by Puppet. Everything else is standard Ubuntu.
We also specify the bind-address as 0.0.0.0, so MySQL is listening on all of the guest's network interfaces.