Hi guys, it appears I recently borked mysql a bit. I recently uninstalled it using pacman -R and reinstalled it. Now when I try and start it using rc.d start mysqld it simply gives me a big FAIL.
I went to look in my hostname.err file and found that it doesn't exist. I don't know if this is related bu I also was using PHPmyAdmin and accidentally deleted all users associated with it. :( I've tried reading the Arch wiki and nothing seems to help. No matter what it fails when I try to start the daemon. Also, if I try systemctl enable mysql.service I get this error:
Not sure what I did but it seems the uninstall messed it up somehow.Code:Failed to issue method call: No such file or directory
EDIT: Oops, I was entering the systemctl command wrong. After I entered it properly it worked without error, however, there still seems to be an error with phpmyadmin. I accidentally deleted all of the root users. I was able to create a new user labeled 'root' but when I check the permissions I am not able to grant full permissions to the root user. It gives me an error:
This is also the same error I get when trying to add a new user altogether. I remember there was three root users and now there is only one user total named root but doesn't seem to have root privileges. I'm not sure how to restore them.Code:#1045 Access denied for user 'root'@'localhost' (using password: YES)
So just to recap because this post might be scattered:
I can't grant full privileges in phpmyadmin and..
I can't locate my hostname.err in /var/lib/mysql. Also it appears that there is no /etc/init.d/mysql

