Login failed after the first password update

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Login failed after the first password update

Postby Bigoudi » 17. October 2015 07:57

Hello,
I have installed XAMP 5.6 on my Ubuntu 14.04 system.
I have used /opt/lampp/manager-linux-x64.run to start Apache and MySql.
I have used phpMyAdmin without password (MySql root default no password.)
All worked fine.
I have readed it is strongly recommended to put a password on the user MySql root user, so i did it, i found two account in the table: root@localhost and root@linux, i puted the same password (only letters and numbers) to both.
I updated the /opt/lampp/phpadmin/config.inc.php with my password.
And...
I can't login anymore with phpMyAdmin, it says "...error... verify the values of host,username,password...".
The log confirm this login error.

Thank you for your help.
Bigoudi
 
Posts: 2
Joined: 17. October 2015 05:44
Operating System: Linux Ubuntu 14.04 LTS

Re: Login failed after the first password update

Postby Nobbie » 17. October 2015 11:10

Maybe you did a typo?

Instead of providing a password in config.inc.php, you should change the type of authorization from "config" to "cookie". If you do so, you will receive a login dialog upon start of phpmyadmin. Maybe you can login there successfully.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Login failed after the first password update

Postby Bigoudi » 20. October 2015 16:15

Thank's for your answer. I had almost nothing in my data base so i deleted et reinstalled XAMP and it's working fine now (of coarse...). I will try the XAMP security script and i hope it will better...
Bigoudi
 
Posts: 2
Joined: 17. October 2015 05:44
Operating System: Linux Ubuntu 14.04 LTS

Re: Login failed after the first password update

Postby Nobbie » 20. October 2015 18:43

Bigoudi wrote:I will try the XAMP security script and i hope it will better...


Dont do so, the security part has been removed from Xampp, the documentation is outdated. But DO NOT use the "fragments" of the security folder and DO NOT use an old security folder, in most cases this results in a destroyed Xampp installation where you cannot access your database anymore.

Instead use PhpMyAdmin to assign a password to "root" and/or create another user with full permissions.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 28 guests