Undefined class constant ' Mysql_attr_init_command '
PHP Version 5.3.17
The Extension=php_pdo_mysql.dll is also open.
Local test OK
Error uploading to server
3.2.3
' Config item ' = ' config value '
' Db_type ' = ' mysql ',//Set Database type
' Db_host ' + ' locahost,//set host
' Db_name ' = ' chidata ',//Set database name
' Db_user ' = ' user ',//Set username
' Db_pwd ' = ' password ',//Set Password
' Db_port ' = ' 3306 ',//Set port number
' Db_prefix ' = ' chi_ ',//Set table prefix [b][/b]
Reply content:
Undefined class constant ' Mysql_attr_init_command '
PHP Version 5.3.17
The Extension=php_pdo_mysql.dll is also open.
Local test OK
Error uploading to server
3.2.3
' Config item ' = ' config value '
' Db_type ' = ' mysql ',//Set Database type
' Db_host ' + ' locahost,//set host
' Db_name ' = ' chidata ',//Set database name
' Db_user ' = ' user ',//Set username
' Db_pwd ' = ' password ',//Set Password
' Db_port ' = ' 3306 ',//Set port number
' Db_prefix ' = ' chi_ ',//Set table prefix [b][/b]
tp3.2 is required for PHP version. PHP5.3 above version (note: Php5.3dev version and PHP6 are not supported)
See if PHP php_mysql is open for this extension?
This is a bug in php5.3;
A workaround is to use its integer value 1002 (pdo::mysql_attr_init_command=1002) directly