Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

RoundCube - DATABASE ERROR

Questions regarding the Web Interface
GUI
Locked
  • Print view
Advanced search
6 posts • Page 1 of 1
malevoefn
Posts: 4
Joined: Fri Apr 25, 2014 12:13 am

RoundCube - DATABASE ERROR

Post by malevoefn » Wed May 14, 2014 7:28 pm

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.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: RoundCube - DATABASE ERROR

Post by imperio » Wed May 14, 2014 8:27 pm

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

Code: Select all

$rcmail_config['db_dsnw'] = 'mysql://roundcube:new_passwd@localhost/roundcube';
also you should fetch a dump with roundcube tables in the official distributive
http://roundcube.net/download/
SQL/mysql.initial.sql
Top

malevoefn
Posts: 4
Joined: Fri Apr 25, 2014 12:13 am

Re: RoundCube - DATABASE ERROR

Post by malevoefn » Thu May 15, 2014 1:07 am

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.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: RoundCube - DATABASE ERROR

Post by imperio » Thu May 15, 2014 5:07 pm

malevoefn,
Your problem is solved ?
Top

malevoefn
Posts: 4
Joined: Fri Apr 25, 2014 12:13 am

Re: RoundCube - DATABASE ERROR

Post by malevoefn » Thu May 15, 2014 6:19 pm

Hi imperio, yes, I could solve it.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: RoundCube - DATABASE ERROR

Post by skurudo » Thu Sep 01, 2016 6:54 am

Main topic about Rouncude "DATABASE ERROR: CONNECTION FAILED!":
viewtopic.php?f=12&t=7065
Top


Locked
  • Print view

6 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password