database access for mysql working; dbconnect revised