can't connect to local mysql server through socket - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: can't connect to local mysql server through socket (
/showthread.php?tid=641039)
can't connect to local mysql server through socket -
ax1 - 10.09.2017
I'm trying to install mysql and phpmyadmin on my linux server
I typed
Код:
apt-get install mysql-server
I was asked to create password which I did and then this table popped up
Re: can't connect to local mysql server through socket -
ax1 - 10.09.2017
also I can connect to phpmyadmin but this error messages are displayed
Re: can't connect to local mysql server through socket -
Uvais - 10.09.2017
@ax1 What do you get by doing this:
Код:
sudo /etc/init.d/mysql restart
Re: can't connect to local mysql server through socket -
ax1 - 10.09.2017
Quote:
Originally Posted by Uvais
@ax1 What do you get by doing this:
Код:
sudo /etc/init.d/mysql restart
|
Код:
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Starting MySQL database server: mysqld ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
Re: can't connect to local mysql server through socket -
Vince - 10.09.2017
You typed "install mysql-server" and something about phpMyAdmin shows up? You're not telling the whole story. When installing phpMyAdmin you need to supply the MySQL root password in order to connect and to create the phpmyadmin user.
PHP код:
dpkg-reconfigure phpmyadmin
and read the instructions carefully.
Re: can't connect to local mysql server through socket - Astralis - 11.09.2017
Simply reinstall what you have done and back up your data, best way to learn.