SkyD Posted September 1, 2006 Report Share Posted September 1, 2006 (edited) [mysqld] basedir=C:/Program Files/MySQL/MySQL Server 4.1 datadir=C:/Program Files/MySQL/MySQL Server 4.1/data #language=F:/MySQL/share/your language directory #slow query log#= #tmpdir#= #port=3306 #set-variable=key_buffer=16M [WinMySQLadmin] Server=C:/Program Files/MySQL/MySQL Server 4.1/bin/mysqld-nt.exe user=root #password= <-- MySQL konfiguraacija Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\www\index.php on line 2 Warning: mysql_select_db(): Access denied for user 'ODBC'@'localhost' (using password: NO) in c:\www\index.php on line 3 Warning: mysql_select_db(): A link to the server could not be established in c:\www\index.php on line 3 <-- triis errori no savienoshanas ar db un ar db atveershanu. Un, kas tas par ODBC, ja man user=root ? Edited September 1, 2006 by SkyD Link to comment Share on other sites More sharing options...
bubu Posted September 1, 2006 Report Share Posted September 1, 2006 Izmet to WinMySQLadmin ārā. Vecs novecojis mēsls. mysql parametrus ņem no mysqld daļas, nevis WinM..admin. A par pirmo kļūdu, dikti grūts links ir jāizdomā, lai atrastu atbildi: http://www.google.com/search?q=Client+does...ested+by+server Link to comment Share on other sites More sharing options...
SkyD Posted September 1, 2006 Author Report Share Posted September 1, 2006 Kaa var no MySQLd njemt kautko aaraa, ja vinju verot valjaa, izlec un uzreiz aizveras melnais logs. aa, nu palaidu mysql -u root -p un ierakstiiju to, un aizgaaja. :) Link to comment Share on other sites More sharing options...
bubu Posted September 1, 2006 Report Share Posted September 1, 2006 Kurš teica, ka no mysqld kautkas jāņem ārā? Es iepriekš teicu, ka no tava ini faila vajag izvākt WinMySQLadmin sadaļu arā. MySQL'am vajadzīga tikai mysqld sadaļa. "izlec un uzreiz aizveras melnais logs." lol.. tu cik dienas Windowsā programmē? Par konsoles aplikācijām neesi dzirdējis? Par start->run->cmd.exe neesi dzirdējis? Link to comment Share on other sites More sharing options...
SkyD Posted September 1, 2006 Author Report Share Posted September 1, 2006 Bljaa, pats esmu taisijis konsoles aplikaacijas. Un par cmd.exe arii esmu dzirdeejis. Nu lab, probleema atrisinaata, bet tagad man neraada bildes. Kautkaada tur GD biblioteka bij jauzliek. Tjip php.ini failaa kautkas bij, bet kas? Link to comment Share on other sites More sharing options...
bubu Posted September 1, 2006 Report Share Posted September 1, 2006 em.. tu šai forumā esi pirmo reizi? RTFM: http://lv.php.net/manual/en/ref.image.php#image.installation Vai tiešām tik grūti, pirms kautko iepļurkstēt forumā, padomāt 5 minūtes, atvērt manuāli un PALASĪT. Link to comment Share on other sites More sharing options...
Recommended Posts