Hi,
I need to make an application with mySQL embedded, so I was testing out mySQL's mjx connection with the code on:
MySQL :: MySQL 5.1 Reference Manual :: 21.4.4.2 Running within a Java Object
I want to be able to use a different username and password, but if I simply try changing the value "alice" or the password, it gives me the following error:
com.mysql.management.util.SQLRuntimeException: User initialization error. Can not connect as alices with password. Can not connect as root without password.
Does anyone know if it's possible to set up new user and password directly through Java, or what other ways can i go about setting it up such that i can pack it along with my java application?
Thank you!