Skip to content
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

Change " Can't connect to local MySQL server through socket " #10

Open
baptcottey opened this issue May 31, 2016 · 0 comments
Open

Change " Can't connect to local MySQL server through socket " #10

baptcottey opened this issue May 31, 2016 · 0 comments

Comments

@baptcottey
Copy link

Hi,

Please change error message when where unable to connect to MySQL. Login and password are shown...

Fatal error: Uncaught exception 'Simplon\Mysql\MysqlException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /var/www/workspace/bugtrack/vendor/simplon/mysql/src/Mysql.php:68 Stack trace: #0 /var/www/workspace/bugtrack/db_conn.php(25): Simplon\Mysql\Mysql->__construct('localhost', 'login', 'pass', 'bug') #1 /var/www/workspace/bugtrack/login_post.php(4): include('/var/www/worksp...') #2 {main} thrown in /var/www/workspace/bugtrack/vendor/simplon/mysql/src/Mysql.php on line 68

@baptcottey baptcottey changed the title Can't connect to local MySQL server through socketChange Change " Can't connect to local MySQL server through socket " Jun 1, 2016
fightbulc pushed a commit that referenced this issue Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant