SkyD Posted July 14, 2005 Report Share Posted July 14, 2005 Hey.. Uzinstaleeju MySQL 4.0.18 versiju.. Veru valjaa ../bin/winmysqladmin.exe failu, tur piedavaa ievadiit username un passwordu, ievadu viss OK.. Veru valjaa PHP editoru, rakstu iekshaa $link = mysql_connect("localhost", "Logins", "Parole") or die ("Could not connect to MySQL"); mysql_select_db ("test") or die ("Could not select database"); saglabaaju index.php ... eju http://localhost izmet Warning: mysql_connect(): Access denied for user: 'Logins@localhost' (Using password: YES) in d:\lapa\index.php on line 2 Could not connect to MySQL Kas par probleemu?? ... Lūdzu palīdziet ... Link to comment Share on other sites More sharing options...
bubu Posted July 14, 2005 Report Share Posted July 14, 2005 Caur konsoli vari pievienoties ar to pashu useri un paroli? mysql.exe -u Logins -p Link to comment Share on other sites More sharing options...
SkyD Posted July 14, 2005 Author Report Share Posted July 14, 2005 Caur konsoli vari pievienoties ar to pashu useri un paroli?mysql.exe -u Logins -p 19341[/snapback] caur kaadu konsoli?? Link to comment Share on other sites More sharing options...
Kristabs Posted July 14, 2005 Report Share Posted July 14, 2005 (edited) celsh/uz/bin/mysql.exe -u Logins -p ieraksti konsolee Start->Run->cmd Edited July 14, 2005 by Kristabs Link to comment Share on other sites More sharing options...
SkyD Posted July 14, 2005 Author Report Share Posted July 14, 2005 Izmet tieshi to pashu... !! Kas par probleemu? Link to comment Share on other sites More sharing options...
bubu Posted July 14, 2005 Report Share Posted July 14, 2005 Nepareizu paroli lieto. Pamēģini tukšus name/pass atstāt. Vai name=root, un pass tukšu. Ja neiet, tad fig zin ko esi tur sakonfigurējis. Link to comment Share on other sites More sharing options...
SkyD Posted July 14, 2005 Author Report Share Posted July 14, 2005 Nepareizu paroli lieto.Pamēģini tukšus name/pass atstāt. Vai name=root, un pass tukšu. Ja neiet, tad fig zin ko esi tur sakonfigurējis. 19367[/snapback] Nu ja nav name un pass tad viss iet, bet priekshkam vispaar tad vinji ir vajadziigi ??? Link to comment Share on other sites More sharing options...
Kristabs Posted July 14, 2005 Report Share Posted July 14, 2005 prieksh kam tev mashiinai signalizaacija un maajai atsleegas un telefonam pin kods? Link to comment Share on other sites More sharing options...
Klez Posted July 16, 2005 Report Share Posted July 16, 2005 (edited) kad instaleeji MYSQL un kad vinsh tev PIRMO REIZI prasiija to login un pass, tad vaidzeeja rakstiit ROOT un ROOT peec ja scriptaa tu lietotu: mysql_connect("localhost","root",""); //sheit viss straadaa (paroli NEVAIG) Edited July 16, 2005 by Klez Link to comment Share on other sites More sharing options...
Recommended Posts