Help with MySQL and YAML

i have a MySQL instance running on port 3307, how to change the
default port setting??in database.yml?

and where to get the all setting options(host, password, adapter etc.)
in database.yml?is there a cocument?

The options differ based on the connection adapter. Here is the one for

The options listed at the top can be used in database.yml.

Ruby Nudy wrote: