Why when use the following command line can create any username and passwd in mysql container?
# oc new-app --name=mysqldb \
-e MYSQL_USER=ose \
-e MYSQL_PASSWORD=openshift \
Can you look into below, if any prob reply me
version: '3'services: database: image: mysql:5.6 volumes: - dbdata:/var/lib/mysql environment: - "MYSQL_DATABASE=my_database_name" - "MYSQL_USER=my_database_user" - "MYSQL_PASSWORD=my_database_password" - "MYSQL_ROOT_PASSWORD=my_root_password" ports: - "33061:3306"
But I keep getting this error.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Have you face same issue
Please Reply me ASAP
Both of you are failing to specify some important information in your questions.
@Jacob, How exactly do you create the user accounts? What commands do you use and how do you verify the new users are able to log in?
@nikjohn1538, What is the output you are quoting in your question? How did you obtain that? Also, I see you are using the Docker hub MySQL image - do mind that image works differently from RHSCL MySQL images we mostly use in our courses.
If I remember that template properly, I think if u do a --param=<variable>=<value> you will end up with a mysql container with the intended variables & values.