Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 3 matches
- Sat Jun 13, 2015 2:49 am
- Forum: Database Server
- Topic: phpMyAdmin error on login screen - cannot login
- Replies: 29
- Views: 52275
Re: phpMyAdmin error on login screen - cannot login
If, like me you are running Ubuntu 14.04 (& probably others), and having DB issues with "can't login", then the problem seems to be due to the mysql config missing a "bind-address" setting.
Edit /etc/mysql/my.cnf and add the missing "bind-address" line to the [mysqld] section:
[mysqld]
...
bind ...
Edit /etc/mysql/my.cnf and add the missing "bind-address" line to the [mysqld] section:
[mysqld]
...
bind ...
- Fri Jun 12, 2015 11:15 pm
- Forum: Mail Server
- Topic: [SOLVED] RoundCube: DATABASE ERROR: CONNECTION FAILED!
- Replies: 25
- Views: 252261
Re: [SOLVED] RoundCube: DATABASE ERROR: CONNECTION FAILED!
On Ubuntu 14.04 I found that I needed to change 'localhost' to '127.0.0.1' in /var/lib/roundcube/config/db.inc.php
$rcmail_config['db_dsnw'] = 'mysql://roundcube:<YOURPASSWORD>@127.0.0.1/roundcube';
Then, voila!
EDIT: I found that editing /etc/mysql/my.cnf and adding "bind-address=127.0.0.1 ...
$rcmail_config['db_dsnw'] = 'mysql://roundcube:<YOURPASSWORD>@127.0.0.1/roundcube';
Then, voila!
EDIT: I found that editing /etc/mysql/my.cnf and adding "bind-address=127.0.0.1 ...
- Fri Jun 12, 2015 1:54 pm
- Forum: Database Server
- Topic: phpMyAdmin error on login screen - cannot login
- Replies: 29
- Views: 52275
Re: phpMyAdmin error on login screen - cannot login
I'm not sure if this information is relevant to you all, but check out Stack Overflow: http://stackoverflow.com/questions/3694575/phpmyadmin-is-throwing-a-2002-cannot-log-in-to-the-mysql-server-phpmyadmin
If that bug sounds like you, then read on:
EDIT: Read my next comment, which is a better fix ...
If that bug sounds like you, then read on:
EDIT: Read my next comment, which is a better fix ...