MySQL и --protocol

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

MySQL и --protocol

Системный админ
??????? ????????? web-????????, ?????????? mysql..
??? ??????? ??????????????? ? ???????? ???????:

Detail:
 2002: Can't connect to local MySQL server through socket
'/var/run/mysql/mysql.sock' (2)

????????, ???????
http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html
, ?????????? ?? ?? ??????????????????:

shell> mysqladmin version
shell> mysqladmin variables
shell> mysqladmin -h `hostname` version variables
shell> mysqladmin -h `hostname` --port=3306 version
shell> mysqladmin -h host_ip version
?? ??????????..

? ??? ??
shell> mysqladmin --protocol=socket --socket=/var/run/mysql/mysql.sock
version ????????:
mysqladmin: unknown variable 'protocol=socket'

??? ???? ??? ???? /tmp/socket ????????????, ????? ??????? ? ???? 755, ?
?????, ??? ?? ????????, 777..

netstat | grep mysql
???????? ???????, ??? ?? ??, ??????????? ? ???????, ??????? ?????????!

?????? ??????:
??? ?? ??????: mysqladmin: unknown variable 'protocol=socket'
???????

?????? ?????? mysql?
OpenBSD 3.8, MySQL 4.0.24-log


Reply | Threaded
Open this post in threaded view
|

Re: MySQL и --protocol

Системный админ
?????????, ??????? ??, /var/run/mysql/mysql.sock

On Tue,  6 Dec 2005 18:05:34 +0300 (MSK)
????????? ????? <[hidden email]> wrote:

> ??? ???? ??? ???? /tmp/socket ????????????


Reply | Threaded
Open this post in threaded view
|

Re[2]: MySQL и --protocol

Anton Maksimenkov
Hi, ?????????.

> ?????????, ??????? ??, /var/run/mysql/mysql.sock
>> ??? ???? ??? ???? /tmp/socket ????????????

??????????? ?? "apache ? chroot"

--
engineer


Reply | Threaded
Open this post in threaded view
|

RE: Re[2]: MySQL и --protocol

Arthur Zhmur
??? ? ???? ??? ????????? ???? ? ????????:
http://umaxx.um.funpic.de/howtos/howto_openbsd-server.pdf

Maksimenkov Anton wrote:

> Hi, ?????????.
>
> > ?????????, ??????? ??, /var/run/mysql/mysql.sock
> >> ??? ???? ??? ???? /tmp/socket ????????????
>
> ??????????? ?? "apache ? chroot"
>
> --
> engineer
>


Reply | Threaded
Open this post in threaded view
|

Re: MySQL и --protocol

Системный админ
In reply to this post by Anton Maksimenkov
???????! ???????: ? - ???????! :)

On Tue, 6 Dec 2005 23:06:32 +0500
Maksimenkov Anton <[hidden email]> wrote:

> Hi, ?????????.
>
> > ?????????, ??????? ??, /var/run/mysql/mysql.sock
> >> ??? ???? ??? ???? /tmp/socket ????????????
>
> ??????????? ?? "apache ? chroot"
>
> --
> engineer
>
>