Open bdconnolly opened 4 years ago
I mentioned in another issue that dashes are not allowed in mysql/mariadb database names. So the real issue is that mydb is not doing the proper validation/error handling to prevent names with dashes from being used.
Actually, I am having trouble finding a reference for my statement above (that dashes are not allowed in database names). I wonder if the dash throws off the parsing of the command line so that it interprets some other argument as the password....
Repo:
What should happen: A new database container is created with the name entered in 2) above. Using the username and password entered above you should be able to access it with a command similar to
What happens: A new database container is created with the name entered in 2) above. Using the username and password entered above you are unable to login. You see a message similar to
After debugging the problem on the db4sci server, I was able to determine the problem is with the password. The DB container is created correctly. The DB is created correctly and the user is created, however the password does not work. When the password is changed, the user is able to access the DB.