I have just deployed my website on a machine with MySQL verstion "5.0.32-Debian_7etch8-log" but get the following error code :
my username, password na db are correct? any ideas how can I fix this ?
Page 1 of 1
Problem with MySQL and yii
#2
Posted 22 April 2009 - 07:59 AM
Please enable 'trace' logging and repost the SQL being generated.
#3
Posted 22 April 2009 - 08:46 AM
The problem is in the first prepared statement "SET NAMES ?", I fixed it with the emulatePrepare option, but why this happens and how can I use it without emulation.
#5
Posted 22 April 2009 - 10:26 AM
Quote
The problem is in the first prepared statement "SET NAMES ?", I fixed it with the emulatePrepare option, but why this happens and how can I use it without emulation.
see http://www.yiiframew...ePrepare-detail
#6
Posted 22 April 2009 - 12:46 PM
there is no code, it just happens upon connecting to the database.
#7
Posted 22 April 2009 - 12:54 PM
Yeah, gotcha. It could be in the PDO layer as well. Are you running the latest version?
I still would love to see the trace output on the SQL being generated.
I still would love to see the trace output on the SQL being generated.
Share this topic:
Page 1 of 1

Help












