Author Topic: Fresh install problem Native code: 1054  (Read 3361 times)

Offline dom_b

  • Jr. Member
  • **
  • Posts: 25
Fresh install problem Native code: 1054
« on: April 13, 2009, 03:31:54 PM »
Hi, i have just installed Roundcube, and as far as I know everything is set-up correctly but after i try to login I immediatley get an error saying: Service unnavailble.

 Here is my error log...

Quote
[13-Apr-2009 21:20:10 +0200] DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_2114fc6e12a5eb2d3a584d21698980707ad472d72 FROM 'SELECT * FROM users WHERE mail_host=? AND username=?']
[Native code: 1054]
[Native message: Unknown column 'mail_host' in 'where clause']
 in /customers/domsyard.com/domsyard.com/httpd.www/webmail/program/include/rcube_mdb2.php on line 255 (POST /webmail/?_task=&_action=login)

As  i only have one Mysql database it has to share it with Drupal. Is this the problem?

I am new to PHP, Mysql and Roundcube so any help is appreciated!

UPDATE:

When trying to log in to RoundCube I get this error:

Quote
[13-Apr-2009 22:40:48 +0200] DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_27332065430ab182adc38938a563aa47bdfedbcaf FROM 'SELECT * FROM users WHERE mail_host=? AND username=?']
[Native code: 1054]
[Native message: Unknown column 'mail_host' in 'where clause']
 in /customers/domsyard.com/domsyard.com/httpd.www/webmail/program/include/rcube_mdb2.php on line 255 (POST /webmail/?_task=&_action=login)

Any ideas?

UPDATE:

Solved by adding a prefix to each table in 'mysql.initial.sql' then updating the 'db.inc.php' file to match
« Last Edit: April 13, 2009, 06:01:44 PM by dom_b »

Offline dom_b

  • Jr. Member
  • **
  • Posts: 25
Fresh install problem Native code: 1054
« Reply #1 on: April 13, 2009, 05:12:48 PM »
any ideas?