[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: mysql



MySQL seems to start okay for me, I have simply got the following in a
script that gets run on boot from rc.local

/sbin/sh -c 'cd /usr/local/mysql; ./bin/safe_mysqld --user=mysql &'

I havent done anything with it apart from install it so I appreciate it
might not work for everyone.

Regards
Davidt


-----Original Message-----
From: redhat-install-list-admin redhat com
[mailto:redhat-install-list-admin redhat com]On Behalf Of Gaylen
Sent: 14 July 2001 19:45
To: redhat-install-list redhat com
Subject: Re: mysql


I'm having the same problem and when I try the status command I get
/etc/init.d/mysqld: NETMA: command not found .  Is this a part of the
problem?  I can get mysqld to start from the command line, but not through
any scripts (PHP).  HELP!

Gaylen
rgie.com

----- Original Message -----
From: "Aciel" <aciel speakeasy net>
Newsgroups: linux.redhat.install
Sent: Wednesday, June 13, 2001 12:02 PM
Subject: Re: mysql


I had the same problem when I installed MySQL. So do many others, I
understand. My recommendations are the following:
-Use Red Carpet to install MySQL and its dependencies--this gets rid of
conflicts.
-Do a 'ps -ax' and 'kill' all processes involving mysql, safe_mysqld,
mysqld, et cetera. Then make sure you run 'setup' (only works in later
versions of Red Hat, to my knowledge), and in the system services tool tell
it to use mysqld. You should also do a 'service mysqld status', 'service
mysqld restart,' et cetera. Play around with it. The problem is essentially
that you have MySQL running already and your system's confused about it.

Aciel
aciel spakeasy net
www.darkchapter.net

----- Original Message -----
From: "Ricardo Striquer Soares" <ideiasdevel yahoo com br>
To: "redhat-install-list" <redhat-install-list redhat com>
Sent: Wednesday, June 13, 2001 12:15 PM
Subject: mysql


> i have recently installed  the red hat 7.1 in my computer, althought i
> have not installed the mysql durring the os installations, naw i
> installed the mysql database but its giving me a socket error like this:
>
> /etc/rc.d/init.d/mysqld status
> mysql dead but subsys locked
>
> mysql
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
>
> i went on the mysql site and there it tells  me to start like
>
> mysqld -h viuva-negra
> ERROR 2003: Can't connect to MySQL server on 'viuva-negra' (111)
>
> here viuva-negra is the name of my host, but it doent work.
>
> i dont know what to do to correctly install the mysql.
> Does someone have been passing thru this too, or know haw to fix the
> problem ?
>
> thanks advanced.
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>



_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list




_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]