in reply to Re: how to test a connection with mysql db
in thread how to test a connection with mysql db

You will want to avoid setting RaiseError or PrintError in the connect calls.

Actually, RaiseError defaults to 0 so you can just leave it off, but PrintError defaults to 1 so if you don't want messages printed, you'll need to explicitly set PrintError to 0 in the call to connect().

  • Comment on Re^2: how to test a connection with mysql db