New Mysql related problem

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

New Mysql related problem

Postby ssin14 » Tue Sep 11, 2007 6:11 am

Hi
when I keyed :

/usr/local/mysql/bin/mysqld_safe --user=mysql &

its says

cannot touch `/usr/local/mysql/var/MySQL/Apache.err': No such file or directory
chown: cannot access `/usr/local/mysql/var/MySQL/Apache.err': No such file or directory
Starting mysqld daemon with databases from /usr/local/mysql/var
/usr/local/mysql/bin/mysqld_safe: line 302: /usr/local/mysql/var/MySQL/Apache.err: No such file or directory
/usr/local/mysql/bin/mysqld_safe: line 310: /usr/local/mysql/var/MySQL/Apache.err: No such file or directory




and when I do :

ln -s /tmp/mysql.sock /var/run/mysql/mysql.sock

its says

File exists

Whats wrong wid this and how can we solve this.

using as per scratch. Mysql 4.0.27
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Mon Sep 17, 2007 10:55 pm

Linux distro?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ramindia » Tue Sep 18, 2007 2:05 am

Hi

If you are using Centos

no need to run manual

there is already deamon,

you simply reboot server

and then run /etc/rc.d/init.d/mysqld restart

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby ssin14 » Sat Sep 22, 2007 4:40 am

Linux Slackware 11

thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Sat Sep 22, 2007 7:52 am

I use Slackware a lot and I've never seen that kind of error after installing MySQL. Do you have an Apache database?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Sun Sep 23, 2007 2:17 am

Yes ........this server has MySQL, apache vici installed.

I think my database got corrupted. So I have formatted my server. so starting all again now. I couldnt figure out what was the prob..

I got another myslq related prob... (when created database Asterisk)

SUBPHASE 6.1

After this:

GRANT SELECT,INSERT,UPDATE,DELETE on asterisk.* TO cron@'%' IDENTIFIED BY '1234';
GRANT SELECT,INSERT,UPDATE,DELETE on asterisk.* TO cron@localhost IDENTIFIED BY '1234';

when I do this:

use asterisk;

it says ERROR 1049: Unknown database 'asterisk'


On the grant select part do i have to put the dot after keying asterk ( delete on asterisk.*....)
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Sun Sep 23, 2007 2:19 am

also I am using mySQL 4.0.27 as per the scratch doc
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Sun Sep 23, 2007 3:25 am

sorry I never put

create database asterisk;


cheers

its works
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 144 guests