The never ending game of MySQL :( - Now something weird happnes
I had mysql installed on my unix system but for some reason it wasn't starting up when I changed the datadir in my.cnf located in etc. It was saying that there's some permission problem. But, I double checked everything and everything looked fine. I wanted to install the latest version of mysql, so I removed the existing version.
Now I just downloaded the server, client and shared community libraries of mysql and installed them using rpm. Now, I don't find a my.cnf file nor does this command: "/etc/init.d/mysqld start" work. And here's the messages:
But when I type mysql it is running and gives me a prompt too and as far as I remember, it shows me the databases in /var/lib/mysql. Can someone help me out please?
Last edited by Legend986; 01-05-2008 at 04:56 AM..
Thanks but it says chkconfig command not found... When I do a man on the command, it shows some help but still it says that the command is not found... Also when I'm trying to run a php file that involves connecting to a database, it says:
As far as the information that I found out goes, I have to install php-mysql extension or something. My PHP version is 5.0.4 and MySQL is 5.1.22 and I don't know where to and how to install this extension...
Last edited by Legend986; 01-05-2008 at 05:29 AM..
Hi,
The first if loop in the script not ending and going to infinite loop.
#!/usr/bin/ksh
set -vx
lc=1
st_date=$(date "+%Y%m%d")
LOGFILE=/home/infa_shared/OM_ftp_transfer.log.$st_date
file="/home/infa_shared/OM_WF.log.$st_date"
while ]; do
if ]
then
sleep 15
let lc=lc+1
print... (4 Replies)
After doing a yum install mysql mysql-server on Fedora 14 I wasn't able to fully install the packages correctly. It installed MySQL 5.1. I was getting the following error when running the:
mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)... (3 Replies)
I recently installed mysql-standard-5.0.21-solaris9-sparc-64bit.pkg on a Solaris 9 machine (SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Ultra-250). The package installation went very smooth, however, starting mysql is a different story. I get the message below everytime I try to start mysql:
#... (2 Replies)
Hi All,
I m very new to unix.
I have a basic doubt ..
In unix I m seeing that there is a * at the end of by executable name (exe1*)..
Wht is the significance of that
Thanks a lot in advance (2 Replies)
MySQL on my server is down....
I figured out that the mysqld process isn't running. When I try to run it, it says it can't find mysql.sock
Any suggestions?
Here's what I can't do:
can't be root
don't have physical access (do stuff via SSH)
reinstall MySQL (need to keep the current MySQL... (8 Replies)
hello,
I a problem. I would like write script in True64 Unix.see below.
last testerkl | head > mailfile.asc
wolteru < mailfile.asc
With the "last" command I get a list when testerkl logged on. And I would like to send this to a user. But how can I write in a "ctrl.-d" and "ctrl.-c" that... (2 Replies)