Answer the question
In order to leave comments, you need to log in
How to install LAMP on elementaryOS (it's an Ubuntu distribution, but a little different)?
I've rummaged through a number of links to install the stack, but none work properly on elementaryOS, despite the fact that it is essentially the same Ubuntu.
Answer the question
In order to leave comments, you need to log in
Your problem is not with LAMP, but with the database. Specifically, your error means that PHPMyAdmin cannot connect to the MySQL server with username root without using a password. If you installed LAMP and PHPMyAdmin separately, I advise you to still remember the login with the password from the mysql root user (well, or alternatively, reinstall the MySQL server separately by entering the root password and remembering it, and then install PHPMyAdmin and enter the correct access data .
Wow, I remember I also suffered, with elementary OS and lamp. The problem I had was in mysql. During the installation process, when it prompts you to set a password, if you do not set it (in some versions it is possible without a password) or the password is easy, it will not show an error, but it will not accept the password, and then you will not be able to log in. In my opinion, this was version 5.6 (I could be wrong). And well, in any later it was not possible to change the password and did not enter. Only a complete removal of mysql with all settings and a new one with a complex password (letters, numbers, symbols). While I was figuring it out, I spent a lot of time, in the documentation I found something super complicated about passwords (such as fighting data leaks, but it’s not clear to me what local servers have to do with it, but oh well), and it’s still not clear why it was installed without errors and without a password .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question