Jump to content
php.lv forumi

Nedarbojas MySQL


SkyD

Recommended Posts

[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 by SkyD
Link to comment
Share on other sites

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

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

×
×
  • Create New...