Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] serwer mysql a dostep z zewnatrz
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
badzio
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 144
Location: Lodz

PostPosted: Wed Nov 10, 2004 12:00 pm    Post subject: [SOLVED] serwer mysql a dostep z zewnatrz Reply with quote

Witam
Mam odpalony serwer mysql i dopoki dzialalem sobie lokalnie, to bylo wszystko ok. ale teraz chcialbym sie podlaczyc do niego z innego kompa (w tej samej sieci) i lipa. wiec zrobilem test:
Code:

badzio init.d # mysql -u nazwa_uzywkonika -p -h 10.4.7.6
Enter password:
ERROR 2003: Can't connect to MySQL server on '10.4.7.6' (111)

gdzie 10.4.7.6 to moje ip
jesli wyrzuce ciag -h 10.4.7.6 albo wpisze np -h localhost to sie laczy. jak wpisze swoje normalne ip - nie idzie. podobnie z innego kompa jak probuje
nie ma zadnych regulek blokujacych port mysql
wersja:
Quote:

badzio init.d # mysql -V
mysql Ver 12.22 Distrib 4.0.22, for pc-linux-gnu (i586)

jakies pomysly?
_________________
gouranga;-)


Last edited by badzio on Wed Nov 10, 2004 12:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
badzio
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 144
Location: Lodz

PostPosted: Wed Nov 10, 2004 12:15 pm    Post subject: Reply with quote

dobra, juz wiem:)
trzeba zakomentarzowac w pliku /etc/mysql/my.cnf wpis:
skip-networking
oraz ustawic wlasciwy adres w linijce
bind-addres
_________________
gouranga;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum