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
mysql:

http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/MysqlAdapter.html

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

Ruby N. wrote:

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?


Sincerely,

William P.