[rock-user] Re : Mysql installation cannot connect, cannot start
philippe florent <[email protected]> Thu, 23 Nov 2006 09:05:16 +0000 (GMT)
| Newsgroups | gmane.linux.distributions.rock.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0244840558== Content-Type: multipart/alternative; boundary="0-331725191-1164272716=:41189" --0-331725191-1164272716=:41189 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Well no, someone else? lol=0Athe socket file is there and I have tried all = commands in /opt/mysql ...=0Ait is installed, starting and not running =0Aw= here are the logs ?=0A=0A=0A----- Message d'origine ----=0ADe : Benjamin Sc= hieder <[email protected]>=0A=C0 : ROCK Users Mailing List <rock-use= [email protected]>=0AEnvoy=E9 le : Jeudi, 23 Novembre 2006, 9h59mn 58s=0AObje= t : Re: [rock-user] Mysql installation cannot connect, cannot start=0A=0A= =0AOn 23.11.2006 08:40:17, philippe florent wrote:=0A> Hi,=0A> =0A> I am (= with a lot of pain) installing(about the thousandth time) the crystal=0A> d= istro (keep having the no syncing issue at startup, still don't know why an= d=0A> why now it sudently works : ) )=0A> =0A> everything is almost cool b= ut the fact is that mysql does not seem to start, as=0A> I use mysql_safe s= omething or etc/init.d/mysql start, status, restart, my mom,=0A> the dog .= .. it seems to be ok like no error or something.=0A> =0A> it ends up sayin= g mysql ended (the previous thread?) as i do mysql start=0A> it seems ok bu= t as i redo the command it tells me no process were killed(so it=0A> was ne= ver running)=0A> i never can find anythin with ps and no mysql command work= , don't know where=0A> are the sql logs or the network logs=0A=0ATried look= ing in /var/opt/mysql/ ?=0AThat's where my mysql stuff is located. If that = directory doesn't exist for=0Asome reason, create it with the following per= missions:=0A=0Adrwxr-xr-x 12 mysql mysql 616 Nov 18 22:21 /var/opt/mysql=0A= =0A> all are returning : cannot connect to localhost mysql /tmp/mysql.socke= t=0A=0AThis means that either MySQL isn't running or that the mysql.socket = file is=0Alocated somewhere else.=0A=0AHope that helps,=0A Benjamin=0A= =0A-- =0A#!/bin/sh #!/bin/bash #!/bin/tcsh #!/bin/csh #!/bin/kiss #!/bin/ks= h=0A#!/bin/pdksh #!/usr/bin/perl #!/usr/bin/python #!/bin/zsh #!/bin/ash=0A= =0AFeel at home? Got some of them? Want to show some magic?=0A=0A http:/= /shellscripts.org=0A_______________________________________________=0Arock-= user mailing [email protected]=0Ahttp://www.rocklinux.net/mail= man/listinfo/rock-user=0A=0A=0A=09=0A=0A=09=0A=09=09=0A____________________= _______________________________________________________ =0AD=E9couvrez une = nouvelle fa=E7on d'obtenir des r=E9ponses =E0 toutes vos questions ! =0APro= fitez des connaissances, des opinions et des exp=E9riences des internautes = sur Yahoo! Questions/R=E9ponses =0Ahttp://fr.answers.yahoo.com --0-331725191-1164272716=:41189 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman, new york, times, serif;= font-size:12pt"><DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: times new roman= , new york, times, serif">Well no, someone else? lol</DIV>=0A<DIV style=3D"= FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">the = socket file is there and I have tried all commands in /opt/mysql ...</DIV>= =0A<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, t= imes, serif">it is installed, starting and not running </DIV>=0A<DIV style= =3D"FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">= where are the logs ?<BR><BR></DIV>=0A<DIV style=3D"FONT-SIZE: 12pt; FONT-FA= MILY: times new roman, new york, times, serif">----- Message d'origine ----= <BR>De : Benjamin Schieder <[email protected]><BR>=C0 : ROCK U= sers Mailing List <[email protected]><BR>Envoy=E9 le : Jeudi, 2= 3 Novembre 2006, 9h59mn 58s<BR>Objet : Re: [rock-user] Mysql installat= ion cannot connect, cannot start<BR><BR>=0A<DIV>On 23.11.2006 08:40:17, phi= lippe florent wrote:<BR>> Hi,<BR>> <BR>> I am (with a l= ot of pain) installing(about the thousandth time) the crystal<BR>> distr= o (keep having the no syncing issue at startup, still don't know why and<BR= >> why now it sudently works : ) )<BR>> <BR>> everythin= g is almost cool but the fact is that mysql does not seem to start, as<BR>&= gt; I use mysql_safe something or etc/init.d/mysql start, status= , restart, my mom,<BR>> the dog ... it seems to be ok like no error or s= omething.<BR>> <BR>> it ends up saying mysql ended (the pr= evious thread?) as i do mysql start<BR>> it seems ok but as i redo the c= ommand it tells me no process were killed(so it<BR>> was never running)<= BR>> i never can find anythin with ps and no mysql command work, don't k= now where<BR>> are the sql logs or the network logs<BR><BR>Tried looking= in /var/opt/mysql/ ?<BR>That's where my mysql stuff is located. If that directory doesn't exist for<BR>some reason, create it wit= h the following permissions:<BR><BR>drwxr-xr-x 12 mysql mysql 616 Nov 18 22= :21 /var/opt/mysql<BR><BR>> all are returning : cannot connect to localh= ost mysql /tmp/mysql.socket<BR><BR>This means that either MySQL isn't runni= ng or that the mysql.socket file is<BR>located somewhere else.<BR><BR>Hope = that helps,<BR> Benjamin<BR><BR>-- <BR>#!/bin/sh #!= /bin/bash #!/bin/tcsh #!/bin/csh #!/bin/kiss #!/bin/ksh<BR>#!/bin/pdksh #!/= usr/bin/perl #!/usr/bin/python #!/bin/zsh #!/bin/ash<BR><BR>Feel at home? G= ot some of them? Want to show some magic?<BR><BR> <A= href=3D"http://shellscripts.org/" target=3D_blank>http://shellscripts.org<= /A></DIV>=0A<DIV>_______________________________________________<BR>rock-us= er mailing list<BR>[email protected]<BR><A href=3D"http://www.rocklin= ux.net/mailman/listinfo/rock-user" target=3D_blank>http://www.rocklinux.net= /mailman/listinfo/rock-user</A></DIV></DIV>=0A<DIV style=3D"FONT-SIZE: 12pt= ; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br= >=0A=09=09<hr size=3D"1"> =0AD=E9couvrez une nouvelle fa=E7on d'obtenir des= r=E9ponses =E0 toutes vos questions ! =0AProfitez des connaissances, des o= pinions et des exp=E9riences des internautes sur <a href=3D"http://fr.rd.ya= hoo.com/evt=3D42054/*http://fr.answers.yahoo.com">Yahoo! Questions/R=E9pons= es</a>.</body></html> --0-331725191-1164272716=:41189-- --===============0244840558== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rock-user mailing list [email protected] http://www.rocklinux.net/mailman/listinfo/rock-user --===============0244840558==--