Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: MySQL sock


  • Subject: Re: lug-bg: MySQL sock
  • From: sve@xxxxxxxxxx (Svetoslav Gyurov)
  • Date: Thu, 27 Dec 2001 18:06:37 +0200 (EET)



> Marian Popov wrote:
> 
>> Veseli praznici pyrvo na vsichki.
>>
>>  
>>
>>  
>>
>> Zdraveite.
>>
>> Tyi kato mi se naloji premestvaneto na edni PHP stranici na drug 
>> server triabvashe da instaliram i MySQL.
>>
>> Instalirah si go kakto predi samo che slojih poslednata stable versia 
>> 3.23.46.
>>
>> Poiavi mi se obache edin problem, koito ne uspiah da razresha.
>>
>> Ta znachi shtom startiram stranicata prez browser i triabva da se 
>> connect do mysqld m idava slednoto
>>
>> syobshtenie za greshka:
>>
>>  
>>
>> *Warning*: MySQL Connection Failed: Can't connect to local MySQL 
>> server through socket '/var/run/mysql/mysql.sock' (111) in * 
>> /var/www/htdocs/clients/pazardjik/mainfile.php* on line *33*
>> Unable to select database
>>
>>  
>>
>> Taka znachi kakvo napravih az sled tova.
>>
>> Ne mojah da go razbera tva zashto go pravi i otidoh i si precompilirah
>>  MySQL-a s opcia:
>>
>>  
>>
>> ./configure --with-unix-socket-path=/usr/local/mysql/mysql.sock
>>
>>  
>>
>> I kvo mislite stana? Nishto. Pak syshtata rabota. Ta misylta mi e dali
>>  niakyde se e zapisalo che toia socket shte e tam
>>
>> i moge li da se promenia miastoto mu. A inache MySQL-cheto si bachka i
>>  si syzdadoh tablicite i bazite danni. Abe nishto mu.
>>
>>  
>>
>>  
>>
>> NIakvi idei da imate? NIakoi da se e sblyskval s podoben problem ?
>>
>> Shte izcheta vsichki mnenia po-vyprosa i shte opitam vsiaka preporyka 
>> zashtoto mi e nujno tozi sait da raboti.
>>
>>  
>>
>> Blarodaria vi i oshte edin pyt Veseli praznici i Chestita Koleda
>>
>>  
>>
>>  
>>
>> mano
>>
> Dokolkoto ne me luje pametta "--with-unix-socket" se polzva, kogato ne 
> iskash MySQL-a da slusha na daden port
> Taka e i spored Sinisa Milivojevic, edin ot core development team-a. 
> Nikakva vruzka s tozi problem.
> Po-skoro ne6to si opleskal s user/passwd v 'mysql' db-a.
> 
Nishto obshto s passwd/user nito s permission na dirs/files.
Sichko sym pregledal predi da postna tova tuk.
Okaza se che triabvashe da si copiram edin my.cnf v etc i tam da mu kaja 
kyde da rovi za mysql.sock

Ta opravih si go :))

10x za helpa
> ...................
> 
> a taka kato se za4etoh v greshkata....eghmmmm.....'unable to select 
> database'....... vij kato si mestil bazite s kakvi
> permissions si gi premestil, 6toto ako sa s 'root' mnogo yasno e zashto
>  ti dava onova gore....po4ti sum siguren,
> 4e e tova!
> 
> Uspeh i 4estita Koleda! ;)
> -- 
> The Power to Serve! <http://www.freebsd.org/>
> 
> .............................................
> :  Kliment Ognianov                         :
> :  Network Administrator & Developer        :
> :  ISP Networks Department                  :
> :  BulInfo Ltd.                             :
> :...........................................:
> :  ICQ #16864572, #64866894                 :
> :...........................................:
> :  http://www.bulinfo.net/                  :
> .............................................

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.