connect error mysql

I worked so far with RealBasic 2011 release 4.3. There I connected to a mysql database as follows (the string constant are not tactual ones of course).:
'__________
mDb = New MySQLCommunityServer
mDb.Host = “66.116.100.100”
mDb.port = 3306
mDb.UserName = “djbierman_test”
mDb.Password = “Hlmnt888”
mDb.DatabaseName = “djbierman_pktest”

mDb.Connect
'__________
This worked fine. Now I upgraded to Xojo 2015 3.1 and get an error:
Error connecting to MySQL: Connection using old (pre-4.1.1) authentication protocol refused (client option ‘secure_auth’ enabled)

Can anyone help me? Thanks
Dick Bierman

I think this is a message generated by the mySQLcommunityserver. What bothers me is that the same code that worked under RealBasic 2011 now apparently results in a different authentication procedure that confuses the mySQLcommunityserver

Maybe take a look here . Problem seems to be related to old-style passwords.