Installation and running mysql 5.6 in Ubuntu 14.04 - mysql

I need to setup mysql5.6 server in ubuntu 14.04(32 bit). I downloaded mysql-server_5.6.19-1ubuntu14.04_i386.deb-bundle.tar from official site. I installed mysql using below commands:
dpkg -i mysql-5.6.16-debian6.0-x86_64.deb
for server, coummunuty etc which all comes in the tar file one by one. Steps I followed are mentioned in this site:
http://dev.mysql.com/doc/refman/5.6/en/linux-installation-debian.html
I can see myconf.cnf file also.
But when I executed the command to start mysql service it gave me error. Error: mysql service uynrecognized.
Kindly tell me what went wrong with my installation.
Thanks

Related

MySQL brew cannot run on macOS Monterey?

MySQL suddenly stopped working after updating from macOS Big Sur to Monterey (naive). Local Laravel dev environment suddenly lost connection to MySQL. Couldn't debug it properly (still learning), so decided to do a fresh MySQL installation via brew. Was installed through brew previously as well.
On the final step, mysql_secure_installation shows this:
Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
brew services start mysql
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/stranger/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.
Am I doing something wrong? Why would it suddenly drop?
Thanks!
Not a solution, but, according to the MySQL documentation, Monterey is not yet a supported platform.
MySQL Supported Platforms
I tried brew uninstall mysql, brew install mysql and then brew services restart mysql and it did the trick for me

Zabbix Server crash. No connection to mysql, no log files and no system process

our Zabbix Server is running (service zabbix-server start: Job is already running: zabbix-server) and our MySQL Database is running, too.
But the dashboard of the Zabbix Server gives the following information:
"Zabbix Server is not running".
Furthermore there is no Zabbix-server process when I check the processes in the server machine with "ps aux | grep zabbix".
Moreover there a no log files.
Last day I edited the zabbix-server.conf and changed the "MaxHousekeeperDelete" from "500" to "200".
Note: This command isnĀ“t working when in the init.d folder: "./zabbix-server -c /etc/zabbix/zabbix_server.conf"
Can someone help?
King regards :-)
Zabbix Version: 3.2
SYSTEM: Ubuntu 14.04.5 LTS (GNU/Linux 3.19.0-69-generic x86_64)
Check if there is a .pid file for zabbix on the system and delete it.
Then try to start the server again.
This should be a comment but don't have enough rep to do so.
EDIT:
Can you ensure the nscd is running with ps aux| grep nscd? If not install it with sudo apt-get install nscd
EDIT2:
Also can you please ensure that you have set START=yes in /ets/default/zabbix-server

php5-msql installed on Ubuntu but not shown in phpinfo.php

I am setting up Nginx+PHP+MYSQL on Ubuntu 12.04.
I used
apt-get install php5-mysql
to install MySql module for PHP. However, everything seems to be installed and enabled, it is yet shown in phpinfo.php and I cant get the php application to connect to the MySql server. The php app is accessible, and I can view things on phpinfo.php.
BTW, mysql is running normally, because I am running an Rails app using it, so I know it is working fine.
As #vstm said a quick summary to help others get the answer quicker:
1. Kill php-cgi
killall php-cgi
2. Restart php-fpm
/etc/init.d/php5-fpm restart OR service php5-fpm restart
3. Double check with
grep -E 'extension=(pdo_)?mysql.so' -r /etc/php5

Errow When Starting MySQL [UBUNTU 13.04]

I am having troubles starting MySQL Community Server. I am using Ubuntu 13.04. I have downloaded MySQL Community Server 5.6 the Debian package. I don't have any previous MySQL Versions installed.
I installed the package using this command dpkg -i mysql-5.6.14-debian6.0-i686.deb and it was successful.
I found the installation files in /opt/mysql. I opened /opt/mysql/server-5.6/supported-files and then typed: ./mysql.server start.
I got the following error:
The server quit without updating PID file (/opt/mysql/server-5.6/data/ubuntu.pid)
How can I solve that problem?
Thank You.

Centos 5.5 - upgrade Mysql to 5.1 and get it working

I am not a server administrator but hope that one can help me. Thanks!
I have a fresh CentOS 5.5 with VirtualMin installed.
I get this when starting MySQL:
Failed to start database :
sh: /etc/rc.d/init.d/mysqld: No such file or directory
IN ADDITION, I wish to upgrade from 5.0 mysql to 5.1 mysql. I have already used this command:
rpm -Uvh MySQL-shared-community-5.1.56-1.rhel5.i386.rpm
But in Webmin my MySQL version still shows up as mysql 5.0.77-4.el5_5.4, rather than upgrade 5.0 rpm just installs 5.1 along side it.
How do I upgrade to 5.1 and configure it to work? Thanks much.
If you already have mysql installed, try the "--replacepkgs" argument together with the "rpm" command.
Regarding sh: /etc/rc.d/init.d/mysqld: No such file or directory, it should be fixed once you install the newer mysql successfully.