-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Big problem with migrate function #2355
Comments
It's not Yii issue but MySQL configuration. Try "127.0.0.1" instead of "localhost" in DB connection string. In some cases it helps. |
Thank for your answer, but the problem is always present with 127.0.0.1. Why can i do to fix this bug ? Le 7 févr. 2014 à 10:03, Alexander Makarov [email protected] a écrit :
|
Again, it's not a bug but MySQL configuration issue. Google for the error message |
Yes, but why it’s functional on all my sites, but only under Yii2, this is not functional ??? Under Yii 1.1 I’ve no problem. I can’t understand sorry. Thank for your answer and help. Le 7 févr. 2014 à 10:42, Alexander Makarov [email protected] a écrit :
|
Ok, it’s a bug with mamp and CLI. Here is a solution at this problem : http://www.reecefowell.com/2012/07/21/symfony2-cli-does-not-connect-to-mysql-while-browser-works-fine/ Thand and good developing Le 7 févr. 2014 à 10:42, Alexander Makarov [email protected] a écrit :
|
Thanks @samdark , it works! |
Thank you @samdark! |
Thank you @samdark it saved a lot of my time. |
Yii Migration Tool (based on Yii v2.0.11) Exception 'yii\db\Exception' with message 'could not find driver' in /opt/lampp/htdocs/advanced/vendor/yiisoft/yii2/db/Connection.php:568 Stack trace: please help me, i can't fix problem, my os is ubuntu 16.04 |
|
It's does'nt work :( |
Its fix , thank you :) |
how? |
I have the same Problem. How you fix it? |
extension=php_mysql.dll |
Hi,
In your framework, you've a very big problem with the migrate command.
When i make a migrate command, i've this exception :
MacBook-Pro-de-Lionel:~ lionel$ /Users/lionel/Site/yii2-advanced/yii migrate
Yii Migration Tool (based on Yii v2.0.0-dev)
Additional Information:
Please correct this problem to i can test your dev application
Thank you for your quickly answer
Lionel
The text was updated successfully, but these errors were encountered: