Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I installed PhpMyAdmin and when I tried to run mysql I always get the same error:
ERROR 2002 (HY000): Can´t connect to local MySql server through socket 'var/run/mysqld/mysqld.sock' (2)
I have tried to unistall all packages including phpmyadmin, mysql, apache and purge them.
When I reinstall I have the same problem. Is the problem from mysql or from a bad configuration of PhpMyAdmin?
I have Linux Mint 18. Php version: 7.0.8, mysql version_ 5.7.16.
Thanks for your time.
What happens when you run:
service mysql status
in terminal?
Also when installing mysql are you installing mysql-server package?
EDIT: seems 2002 is lack of server, and only having mysql-client.
run sudo apt-get install mysql-server to fix this.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I am new to php. I was already running mysql ver 8.0.27 on my mac 11.5 (BigSur)
Now i have installed XAMPP (8.0.15), Apache is running perfectly but MySQL Database is stopped and also localhost/phpmyadmin is not working. But my previously installed mysql is running, i am using it through workbench. Can i use my running mysql with it or need to change the port to run from XAMPP?
You should use modern dev stacks like Docker or Vagrant (I prefer docker) ... XAMPP is outdated. But it looks like a port problem. If you really want to use XAMPP, try changing the port numbers.
Also take a look at this video https://www.youtube.com/watch?v=YXWQTpSHIMc&ab_channel=BINARYHACK
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Is there a way to find out if more than 1 MySQL server installed on a server?
Situation: I'm running an Ubuntu 14.04 with MySQL server installed by plesk, however the service is not starting automatically. I'm assuming that I have another MySQL server which starts instead of the correct one.
Any guide will be appreciated.
use below command if any mysql service is running on your server-
ps -aux | grep mysql
It will show you how many mysql services are running on server or not.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Hi attached is the image showing MySQL Server is currently running and succesfully installed in Ubuntu 13.10, only problem is I cannot communicate with it via terminal so I can't create databases using terminal.
It say's mysql is not currently installed, so what am i missing?
below is that url that I used to install it.
https://serverfault.com/questions/516190/how-to-install-mysql-5-6-on-debian-7-wheezy
By default the current directory is not in your PATH, so it's not searched when you execute commands.
You can do any of the following:
Add /usr/local/mysql/bin to your path (probably best option)
From inside that directory, run ./mysql rather than mysql
Type /usr/local/mysql/bin/mysql instead of mysql
Create an alias
...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am using linux Fedora 19
When I am trying to install mysql server on my system it installing mariadb and mariadb-server.
I executed folloing command on CLI
yum install mysql mysql-server mysql-libs mysql-server
Please help me here to install mysql on system.
MariaDB is a drop-in replacement for MySQL. You wont realize it is not MySQL. And Fedora switched to MariaDB since the future of MySQL is uncertain ever since Oracle acquired it.
Is there any particular reason you want to install mysql ?
Fedora/RHEL (and others) has decided to replace MySQL with MariaDB. That decision was made upon the believes that Oracle would move the MySQL project to a more closed development (MySQL AB the company behind MySQL was bought by Sun, which in turned later was bought by Orale)
As far as I know, the MariaDB should preserve API/ABI compatibility with MySQL (including adding some new features), so you should be able to use MariaDB as a replacement for MySQL.
Hera are some more information on the subject,
- https://fedoraproject.org/wiki/Features/ReplaceMySQLwithMariaDB
- http://www.itwire.com/opinion-and-analysis/open-sauce/58571-monty-has-last-laugh-as-distros-abandon-mysql
Hope that helps!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Installing roundcube webmail: I have the DB set up (win serv 2008, MS SQL 2008 - though even that was a battle!) i can navigate to the installer but when I go to set up everything there is no SQL Server option in the list of DBs?
Anyone got any idea what thats all about? I can see MySql, MySqli and PgSql but no MSSQL.
Roundcube installer doesn't detect mssql!
Select with mysql option while you are install ms sql driver for php.
there is a complete installation guide http://www.ifunky.net/Blog/post/How-To-Install-RoundCube-With-hMailServer-and-Windows-2008-IIS7.aspx
Make sure you've activated the MSSQL extension in your php.ini. I don't know this script, but often installers first detect which database extensions are available and let you only use these.
So find your php.ini and search it for something like this:
extension=msql.dll
If you can't find the line, add it to the file (maybe restart your webserver) and try again.
It's because Roundcube Installer doesn't detect MSSQL, but you can install/run it without Installer.