From Free Pascal wiki
Work in progress
On Lazarus Database Tutorial we saw a first attempt to connect to a MySQL server. We didnot use any components neither visual nor non visual at that time. This page will connect to a MySQL server in a maybe more easy way.