27-02-2012, 05:19
Kur....
http://www.php.net/manual/en/mysqli.quickstart.connections.php
Czytaj i się ucz!
W momencie kiedy nie łączysz się po socketach, musisz podać port, standardowo 3306.
http://www.php.net/manual/en/mysqli.quickstart.connections.php
Czytaj i się ucz!
Cytat:The hostname localhost has a special meaning. It is bound to the use of Unix domain sockets. It is not possible to open a TCP/IP connection using the hostname localhost you must use 127.0.0.1 instead.
W momencie kiedy nie łączysz się po socketach, musisz podać port, standardowo 3306.
Dobre samopoczucie w tym tygodniu sponsoruje cytat:
Cytat:Mogę tylko tylko na prawo i lewo ale na środek nie mogę.