CyberPanel Community

Login to phpmyadmin without autologin

ju
juanse #1

Login to phpmyadmin without autologin

I want to enter phpmyadmin without autologin. To be able to enter with the root account. But autologin does not allow me. I want to change the sql-mode setting.

4 replies
w3
w3services #3

cd /usr/local/CyberCP/public/phpmyadmin
mv config.inc.php config.inc.php.old
mv config.sample.inc.php config.inc.php

Is this working? If I want a direct PHPMyAdmin feature?

Ideally, both should work but direct login is more important.

lo
loveflysea #4

The auto login to phpmyadmin is working with cyberpanel at the begining.
But I have a question that , I change the default root password of mariadb for security reason.
I also change the database root password as below.

Sudo vi /usr/local/CyberCP/CyberCP/settings.py
sudo vi /home/cyberpanel/.my.cnf
sudo vi /etc/cyberpanel/mysqlPassword

Most function work correctly after I change these file setting. But the phpmyadmin autologin function
has trouble with it. if I click the button on the cyberpanel to access the phpmyadmin, it will show a blank page.

I can temporary login to phpmyadmin by doing this:

cd /usr/local/CyberCP/public/phpmyadmin
mv config.inc.php config.inc.php.old
mv config.sample.inc.php config.inc.php

I know that it just make the default config.sample.inc.php to be work , But the problem is that
there is no more “Autologin” function for PHPmyadmin anymore if I replace the config.inc.php.
So, any body know how to solute the problem properly ? Just want the Autologin function back after
changing the database root password every time.

NK
Nitesh Kunnath #5

Please do not create duplicated queries marking yourself in red flag for spam. You have already opened a new thread mentioning this same issue and I have replied to that.

Sign in to reply