I can start mysql fine,
/usr/local/mysql/support-files/mysql.server start
Starting MySQL
SUCCESS!
But any mysql action after that I get the error: MySQL server PID file could not be found
/usr/local/mysql/support-files/mysql.server stop
ERROR! MySQL server PID file could not be found!
Where do I find the server PID file on Mac with OSX 10.8? I am wondering if it is a permission problem.
I really did it this time.. I deleted a database named MySQL in my server. Shortly after MySQL went haywire and now I cannot login as a user to mysql, I cannot re-install mysql, I get an error for every solution I try.
So I decided hell with it I'll remove mysql, php and start again. I used rpm -qa | grep mysql but it returned nothing.
I'm trying to install MySQL 5.5 on Ubuntu 12.04, but I'm stuck with this error:
Setting up mysql-server-5.5 (5.5.24-0ubuntu0.12.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent co
I am trying to crate a shell script that would:
connect to a remote server that has MYSQL running
On success run "CREATE DATABASE foo;"
So far I tried:
#!/bin/bash
mysql -h 111.11.11.11 -u root -p'XXXXXXX'
mysql> CREATE DATABASE foo;
or
echo "CREATE DATABASE foo;";
But no success.
I am using the command line to run the shell script.
# sh create_mysql_database.sh
but all it does is
I downloaded php binaries and tried to build the same using following command.
./configure --with-apxs2=/usr/sbin/apxs --with-mysql
But i'm getting the error related to mysql client library.
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location...
I've just installed MySql to support a mediawiki install on 12.04 64bit.
Everything appears to be working ok, except that at boot-up, mysql server fails to start.
This results in an error appearing on the webpage:
Can't connect to local MySQL server through socket /var/run/mysqld/mysqld.sock
When I discover this, and run
sudo service mysql start
It all works ok after that until the next reboo
I have installed mysql and phpmyadmin via, yum. I get the message
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
The server is not responding (or the local server's socket is not correctly configured).
The problem though, is with mysql itself.
# service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Job failed.
Hey guys, so I've been running F17 for quite some time now, and earlier I attempted to install mysql for computer science class, and so far I have been the recipient of two not so unfamiliar errors I've gotten in the past while trying to install apache and other server software, number1 is it didn't prompt me to configure my mysql root password and secondly, every time I try to start it up I get t
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processin