Exercise: MySQL Connection


Instead of hard-coding the connection details in the script, let's create an INI file that contains the connection information and use that.


examples/mysql/connect.ini
[development]
host     = localhost
database = fb_db
user     = foobar
password = no secret