MySQL db access

Trying to see how the process of accessing the MySQL db works. This is
the result of it.. not real pretty but it works!!