PDA

View Full Version : Database Errors


Philleh
10-09-2007, 03:29 AM
Hi there, wondering if anyone can help me.

I have recently (yesterday) installed the 3.6.8 upgrade for my forum.
However when I try to load my PMs page (private.php) I receive the following database error.

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT pm.*, pmtext.*
, icon.title AS icontitle, icon.iconpath
FROM pm AS pm
LEFT JOIN pmtext AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
LEFT JOIN icon AS icon ON(icon.iconid = pmtext.iconid)
WHERE pm.userid=3 AND pm.folderid=0
ORDER BY pmtext.dateline DESC
LIMIT 0, 50;

MySQL Error : Can't create/write to file '/tmp/mysql/#sql_5b2b_0.MYI' (Errcode: 2)
Error Number : 1
Date : Monday, October 8th 2007 @ 11:15:44 PM
Script : http://www.metric-island.com/board/private.php
Referrer : http://www.metric-island.com/board/index.php
IP Address : 121.45.80.119
Username : Philleh
Classname : vb_database

Another error I receive when trying to to use most functions in the admincp. For example clicking on the vbullietin options link I get the following error;

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT setting.*, settinggroup.grouptitle
FROM settinggroup AS settinggroup
LEFT JOIN setting AS setting USING(grouptitle)
WHERE settinggroup.displayorder <> 0
ORDER BY settinggroup.displayorder, setting.displayorder;

MySQL Error : Can't create/write to file '/tmp/mysql/#sql_5b2b_0.MYI' (Errcode: 2)
Error Number : 1
Date : Monday, October 8th 2007 @ 11:16:46 PM
Script : http://www.metric-island.com/board/admincp/options.php?null=0
Referrer : http://www.metric-island.com/board/admincp/index.php?do=nav
IP Address : 121.45.80.119
Username : Philleh
Classname : vb_database

Any help is much appreciated.

I have recently edited a few parts of the template, Navbar and forumhome_forumbit_level2_post to be specific, however they were small edits which I don't believe would create these errors.

The forum URL is - http://www.metric-island.com/board

Kind regards,

Phil

Marco van Herwaarden
10-09-2007, 06:18 AM
OS error code 2: No such file or directory

Sounds like a configuration error on the MySQL server. Please contact your host.