![]() |
1.undefined
function mysql_connect()
*Find the extension=php_mysql.dll line in php.ini,
uncomment it, and restart * Save my.ini with [user/pass] in [PHP] , restart web server 2. Undefined variable: HTTP_SERVER_VARS (its own file
name _SERVER) 3.mysql_connect(): Client does not support authentication protocol
requested by server * mysql> SET PASSWORD FOR /** OLD_PASSWORD enable you to maintain backward compatibility with < 4.1v clients. It does prevent creation of a long password hash in the user table ***/ Alternatively, use UPDATE and FLUSH PRIVILEGES: 4. Access denied for user 'ODBC'@'localhost' (using password: NO) *mysql> grant all privileges on *.*
to ODBC@'%' with grant option; mysql> flush privileges; 5.GD Installation (php.ini) 5.Shutdown mysql
|
@copyright
of Soon Lim. All right reserved |