davy@davy-Aspire-E5-476G:~$ sudo /etc/init.d/mysql start
[ ok ] Starting mysql (via systemctl): mysql.service.
davy@davy-Aspire-E5-476G:~$ mysql -u root
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
I don't know the password. I don't remember setting it up.
It is just a manager that can be used over the internet (therefor popular for hosting providers). As your database is local, you don't need to manage via a website.
the php file info.php already works. but I want to see the database management. I normally use phpmyadmin xampp in Windows. What about in Linux lampp ? I think they should have phpmyadmin works in lampp ?
It is not part of the stack as there are many database managers and you are free to choose the one you want. Personally I use dbeaver on Linux as it works with all kinds of databases
Don't change your user to root. Create a new user that you want to use for stuff using the procedure you covered yourself earlier. Then use that user to login to dbeaver :)
Why do you need to install any of this on the server?
Just install on your local system (phpmyadmin, navicat, sequel pro, whatever) and add a remote database (your server) to connect to. Keep it on your mac or windows or whatever you're using and leave the actual server alone. Just manage it remotely.
You can manage all of your remote mysql instances on all of your various servers from the same local interface.
This is all in my laptop localhost. I have dual os - linux and windows. Now, I am using linux. I can switch to windows anytime.
Can you not use root as the user and nothing as the password?
I tested creating a new database with usertest as the username and has a password. It is also :
Access denied for user 'usertest'@'localhost' (using password: YES)
I wonder if this dbeaver software is connecting to phpmyadmin so that whenever the username and password is not the same then an access denied message appears?