Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

I can't login to phpMyAdmin

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
17 posts
  • 1
  • 2
  • Next
Tim Rowley
Posts: 14
Joined: Mon Apr 13, 2015 6:23 pm

I can't login to phpMyAdmin
  • Quote

Post by Tim Rowley » Tue Apr 14, 2015 4:34 pm

This is a new install. Yesterday I got past a login problem by changing permissions and had entered phpMyAdmin last night and had tried to upload a database that was too big. I had already rewritten limits in php.ini but this morning remembered that I probably had to restart httpd and I also restarted mysqld. Now I can't get back in with my username and password. Do you have any ideas please.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I can't login to phpMyAdmin
  • Quote

Post by skurudo » Tue Apr 14, 2015 5:50 pm

Try

Code: Select all

chmod 777 /var/lib/php/session
Top

Tim Rowley
Posts: 14
Joined: Mon Apr 13, 2015 6:23 pm

Re: I can't login to phpMyAdmin
  • Quote

Post by Tim Rowley » Tue Apr 14, 2015 6:26 pm

I did that yesterday and was into phpMyAdmin after that, but today I can't get in.
The login form page opens with a pink message box at the top saying "No activity within 1440 seconds; please log in again" which remains there after completing Username and Passwords and pressing Go. There is no error message.
I've just checked that these permissions were still there and they are.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I can't login to phpMyAdmin
  • Quote

Post by skurudo » Tue Apr 14, 2015 6:29 pm

Clear cache and try again, and check error log.
Top

Tim Rowley
Posts: 14
Joined: Mon Apr 13, 2015 6:23 pm

Re: I can't login to phpMyAdmin
  • Quote

Post by Tim Rowley » Tue Apr 14, 2015 7:43 pm

I have cleared the cache and tried again. Nothing happened again, but this time there was no pink message box saying "inactive for more than 1440 seconds, sign in again". Nothing at all happened and no error message on screen.

I downloaded var/log/ mysqld.log but I don't know what I'm looking at.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I can't login to phpMyAdmin
  • Quote

Post by skurudo » Tue Apr 14, 2015 7:54 pm

open up config.inc.php in the root phpMyAdmin directory and add this setting (anywhere):

Code: Select all

$cfg['LoginCookieValidity'] = <your_new_timeout>;
28800 for example
and restart apache
Top

Tim Rowley
Posts: 14
Joined: Mon Apr 13, 2015 6:23 pm

Re: I can't login to phpMyAdmin
  • Quote

Post by Tim Rowley » Tue Apr 14, 2015 9:28 pm

Thanks Skurudo
I've done that : I restarted httpd assuming that's what you meant by restart Apache, and then I cleared browser cookies, and still nothing happens.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I can't login to phpMyAdmin
  • Quote

Post by skurudo » Wed Apr 15, 2015 8:08 am

Tim Rowley wrote:Thanks Skurudo
I've done that : I restarted httpd assuming that's what you meant by restart Apache, and then I cleared browser cookies, and still nothing happens.
Nothing - it's the same error "inactive for more than 1440 seconds" or...?
Try to clear sessions from /var/lib/php/session and log in.
Top

Tim Rowley
Posts: 14
Joined: Mon Apr 13, 2015 6:23 pm

Re: I can't login to phpMyAdmin
  • Quote

Post by Tim Rowley » Wed Apr 15, 2015 2:46 pm

There is no error message.
I'm wondering if I should reinstall everything adn perhaps choose Centos 7
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I can't login to phpMyAdmin
  • Quote

Post by skurudo » Wed Apr 15, 2015 2:48 pm

Tim Rowley wrote:There is no error message.
I'm wondering if I should reinstall everything adn perhaps choose Centos 7
Where do you look error messages? ;-)
Top


Post Reply
  • Print view

17 posts
  • 1
  • 2
  • Next

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password