Prev | Current Page 64 | Next

Kevin Marshall, Chad Pytel, and Jon Yurek

"Pro Active Record: Databases with Ruby and Rails"

The value
should be mysql.
database: The name of the database that you are attempting to connect to.
username: Optional parameter containing the username of the user as whom you wish to
connect to the database.
password: Optional parameter containing the password of the user as whom you wish to
connect to the database. This value is provided in plain text.
socket: Optional parameter that contains the socket that should be used to communicate
with the MySQL database. If this parameter is omitted, the adapter assumes a value of
/tmp/mysql.sock.
port: Optional parameter containing the port on which the database is available for
connections.
sslkey: Required parameter if you are connecting to aMySQL database via SSL.
sslcert: Required parameter if you are connecting to aMySQL database via SSL.
sslca: Required parameter if you are connecting to aMySQL database via SSL.
sslcapath: Required parameter if you are connecting to aMySQL database via SSL.
sslcipher: Required parameter if you are connecting to aMySQL database via SSL.


Pages:
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76