MS SQL It's not my favorite DB but I have to use it for my project and I tried Yii with it.
After troubles with login, I finally managed to connect on server but now I get new error that I cannot figure out. I cannot create model from console. I get following error:
exception 'CDbException' with message 'CDbConnection failed to open the DB connection: SQLSTATE[28000] Nom d'acces incorrect. (severity 2)'
After that server disconnects me. I have owner privileges and I can connect and work normally using client (management studio).
I'm using Yii 1.1.0 and XAMPP 1.7.2 on Windows 7. All required PDO extensions are enabled
Thanks in advance
Page 1 of 1
MS SQL problem
#2
Posted 17 February 2010 - 05:33 AM
Just quick note: I can connect on DB using PDO and do queries without problem. Yii seems to have problems with it...
#4
Posted 17 February 2010 - 05:44 AM
I found it.
I had to install SQL SERVER 2008 native drivers. I don't know why PDO without Yii was not making those errors before, but I guess that's the microsoft
Thanks to all
I had to install SQL SERVER 2008 native drivers. I don't know why PDO without Yii was not making those errors before, but I guess that's the microsoft
Thanks to all
Share this topic:
Page 1 of 1

Help














