Page 1 of 1

cant connect to phpmyadmin

Posted: Sat Nov 24, 2018 4:10 am
by frankcisco
i didnt knew what my sql password was. then i did what in this post says to do : viewtopic.php?t=5147

i still cant log in on phpmyadmin. im using centos 7. i dont know how to restart mysql. i have another vps which i use centos but service mysql restar won work even the init one. so i rebooted the server and i still cant login on phpmyadmin

any idea on how to solve this?

EDIT:

I reinstalled everything, i use the default password then chage it on phpmyadmin and its ok.

¿i see script use maria db. how to properly restart start the service?

i use service mysqld restart the the command says

"Redirecting to /bin/systemctl restart mysqld.service
Failed to restart mysqld.service: Unit not found"

Re: cant connect to phpmyadmin

Posted: Sat Nov 24, 2018 10:35 am
by grayfolk
frankcisco wrote:
Sat Nov 24, 2018 4:10 am
i use service mysqld restart the the command says

"Redirecting to /bin/systemctl restart mysqld.service
Failed to restart mysqld.service: Unit not found"

Try

Code: Select all

service mariadb restart

Re: cant connect to phpmyadmin

Posted: Sat Nov 24, 2018 5:38 pm
by frankcisco
grayfolk wrote:
Sat Nov 24, 2018 10:35 am
frankcisco wrote:
Sat Nov 24, 2018 4:10 am
i use service mysqld restart the the command says

"Redirecting to /bin/systemctl restart mysqld.service
Failed to restart mysqld.service: Unit not found"

Try

Code: Select all

service mariadb restart


[root@***** ~]# service mariadb restart
Redirecting to /bin/systemctl restart mariadb.service
[root@***** ~]# /bin/systemctl restart mariadb.service
[root@***** ~]#

redirects to /bin/systemctl restart mariadb.service but this command gives no status

Re: cant connect to phpmyadmin

Posted: Sat Nov 24, 2018 6:25 pm
by grayfolk
frankcisco wrote:
Sat Nov 24, 2018 5:38 pm

redirects to /bin/systemctl restart mariadb.service but this command gives no status
You always can see service status by service mariadb status command.

Re: cant connect to phpmyadmin

Posted: Tue Nov 27, 2018 12:50 am
by frankcisco
grayfolk wrote:
Sat Nov 24, 2018 6:25 pm
frankcisco wrote:
Sat Nov 24, 2018 5:38 pm

redirects to /bin/systemctl restart mariadb.service but this command gives no status
You always can see service status by service mariadb status command.
thanks