I have quite a few errors when trying to make a website with LAMP.
Error #1: mysql: (I have no idea what's causing it.) mysqld.sock is missing.
When I type in
it will say it can't connect to socket. I look all over my laptop's files and I can't find it anywhere.
Error #2.a: phpmyadmin: #2002 Cannot log in to the MySQL server When I try to log into PHPmyadmin this error will show up. Anything I do, this message will appear up all the time
Error #2.b: phpmyadmin: Connection for controluser as defined in your configuration failed.
I put in "root" for my user and this shows up. I wasn't able to choose my user while installing, only my password.
Error #2.c: phpmyadmin: phpMyAdmin was unable to read your configuration file! This might happen if PHP finds a parse error in it or PHP cannot find the file. Please call the configuration file directly using the link below and read the PHP error message(s) that you receive. In most cases a quote or a semicolon is missing somewhere. If you receive a blank page, everything is fine.
I hadn't have edited my config.inc.php file, except when i changed "localhost" to "18.104.22.168" and I put "root" in the ControlUser.
Can someone help?? I went on at least 30 pages on google to help me with this. None of them worked. I am a big noob, so bear with me.