tested script for mysql basic connect