What heck is this not being able to put links nor images in a post! I’ll have to disassemble the links below, sorry!
I can’t use phpMyAdmin on my system. There’s a weird kind of double-bind going on.
I installed XAMPP from AUR (issues posted there by other users are not the same as mine. it’s mostly starting the MySQL server, which does work for me).
I am able to start Apache and MySQL, but not getting access to phpMyAdmin:
https:// imgur. com/ 2qPwm8v
I tried the following:
Changed user from root to ben in /opt/lampp/phpmyadmin/config.inc.php
This lets my start phpMyAdmin, but I can’t create a database. I get this message:
https:// imgur. com/ ZoUvtZU
#1044 User “@‘localhost’” has no permission to access database blabla
so there’s a username missing here.
I also posted about it here: https:// discuss.codecademy .com/t/ error-incorrect-database-name/526878/15).
Trying to copy the error message here:
MySQL said:** Cannot connect: invalid settings.
mysqli::real_connect(): (HY000/1698): Access denied for user ‘root’@‘localhost’
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
I wonder if XAMPP’s MySQL is somehow conflicting with my repos’ installation of MariaDB.
It turns out MariaDB is installed on my system from official Manjaro repos.
XAMPP is installed from AUR.
However, if I try to remove MariaDB in Pamac, it also wants to remove the XAMPP package, so maybe MariaDB was actually pulled from official repos as a dependency of the AUR XAMPP package (if that even happens at all).
How do I find out if
1.) I have two installations of MariaDB on my system and
2.) That actually causes problems or not?
Checking which mysql I found that all these files exist in /usr/bin: