RoundCube - DATABASE ERROR
RoundCube - DATABASE ERROR
Dear team vestacp, I installed the control panel on my VPS and when I entered the webmail screen appeared with the following error: "DATABASE ERROR: CONNECTION FAILED".
Looking at the installation log I found a line that caught my attention: "vst-install-rhel.sh: line 677: /usr/share/doc/roundcubemail-*/SQL/mysql.initial.sql: No such file or directory".
I request the help of one of you to solve this problem.
By mail I send screenshots.
Thank you, regards.
Looking at the installation log I found a line that caught my attention: "vst-install-rhel.sh: line 677: /usr/share/doc/roundcubemail-*/SQL/mysql.initial.sql: No such file or directory".
I request the help of one of you to solve this problem.
By mail I send screenshots.
Thank you, regards.
Re: RoundCube - DATABASE ERROR
You can create a new database for roundcube under root-mysql in the phpmyadmin
and than you should change database settings in db.inc.php
also you should fetch a dump with roundcube tables in the official distributive
http://roundcube.net/download/
SQL/mysql.initial.sql
and than you should change database settings in db.inc.php
Code: Select all
$rcmail_config['db_dsnw'] = 'mysql://roundcube:new_passwd@localhost/roundcube';
http://roundcube.net/download/
SQL/mysql.initial.sql
Re: RoundCube - DATABASE ERROR
I tell them that I could solve the problem. What I did was import the sql script it fetches mysql.initial.sql of https://github.com/roundcube/roundcubem ... master/SQL and generate the structure of tables in the database "roundcube" from phpMyAdmin logged in as root.
I saw that the installer script vesta failed because database "roundcube" and all configuration files are generated correctly, also the roundcube user generated. I think the problem is that the rpm package that you downloaded the installation did not install correctly mysql.initial.sql
It did not create a new database with a new user.
Thank you Imperio for your help on comment post.
Regards.
I saw that the installer script vesta failed because database "roundcube" and all configuration files are generated correctly, also the roundcube user generated. I think the problem is that the rpm package that you downloaded the installation did not install correctly mysql.initial.sql
It did not create a new database with a new user.
Thank you Imperio for your help on comment post.
Regards.
Re: RoundCube - DATABASE ERROR
malevoefn,
Your problem is solved ?
Your problem is solved ?
Re: RoundCube - DATABASE ERROR
Hi imperio, yes, I could solve it.
Re: RoundCube - DATABASE ERROR
Main topic about Rouncude "DATABASE ERROR: CONNECTION FAILED!":
viewtopic.php?f=12&t=7065
viewtopic.php?f=12&t=7065