Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the admin password on docker container? #27

Open
sliddjur opened this issue Dec 10, 2020 · 1 comment
Open

What is the admin password on docker container? #27

sliddjur opened this issue Dec 10, 2020 · 1 comment

Comments

@sliddjur
Copy link

I just cloned repo, built image and ran the container.

I went to localhost:8080 and tried to login with admin / PfaSRAPiDO43
But I am getting error message saying Alert! Invalid username or password.

The image I am using:

$ docker image list mikhmonv3
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
mikhmonv3           latest              0cd8f922b9c2        2 hours ago         922MB

From log:

~/docker/mikhmonv3$ docker run --rm -i -t -p 8080:80 --name="mkhmn1" mikhmonv3
Updating for PHP 7.4
Replacing CLI php.ini values
Editing APACHE_RUN_GROUP environment variable
Editing phpmyadmin config
Setting up MySQL directories
Allowing Apache/PHP to write to the app
+Allowing Apache/PHP to write to MySQL
Editing MySQL config
=> An empty or uninitialized MySQL volume is detected in /var/lib/mysql
=> Installing MySQL ...
=> Done!
=> Waiting for confirmation of MySQL service startup
=> Creating MySQL admin user with random password
ERROR 1133 (42000) at line 1: Can't find any matching row in the user table
=> Done!
========================================================================
You can now connect to this MySQL Server with PfaSRAPiDO43

    mysql -uadmin -pPfaSRAPiDO43 -h<host> -P<port>

Please remember to change the above password as soon as possible!
MySQL user 'root' has no password but only allows local connections

enjoy!
========================================================================
Starting supervisord
/usr/local/lib/python3.6/dist-packages/supervisor-4.2.0-py3.6.egg/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2020-12-10 14:39:34,308 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2020-12-10 14:39:34,308 INFO Included extra file "/etc/supervisor/conf.d/supervisord-apache2.conf" during parsing
2020-12-10 14:39:34,308 INFO Included extra file "/etc/supervisor/conf.d/supervisord-mysqld.conf" during parsing
2020-12-10 14:39:34,312 INFO RPC interface 'supervisor' initialized
2020-12-10 14:39:34,313 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-12-10 14:39:34,313 INFO supervisord started with pid 1
2020-12-10 14:39:35,315 INFO spawned: 'apache2' with pid 504
2020-12-10 14:39:35,317 INFO spawned: 'mysqld' with pid 505
2020-12-10 14:39:36,605 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-12-10 14:39:36,605 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
@ahmetozcelik
Copy link
Contributor

Hi, you used mysql password on docker container. It's not Mikhmon user/password.
Mikhmon front-end default
User: mikhmon
Password: 1234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants