<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sounds like MySQL didn't start when you rebooted. Type:<br>
<br>
sudo /etc/init.d/mysql start<br>
<br>
In a terminal and see what happens. <br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 11/3/2010 6:09 AM, Qiubo Su (David Su) wrote:
<blockquote
cite="mid:AANLkTin4Ku06v4Dtfa7ik38DazbzEbWLzvmokdvRohSw@mail.gmail.com"
type="cite">
<h2 style="font-weight: normal;"><font size="2">dear drupal
support,</font></h2>
i installed and configure my drupal site in local ubuntu pc. it
has been working fine, but after i reboot the pc, it shows the
below error message and can never login to the site to browse the
pages.<br>
<h2>Site off-line</h2>
<div class="clear-block">
<p>The site is currently not available due to technical
problems. Please try again later. Thank you for your
understanding.</p>
<hr>
<p><small>If you are the maintainer of this site, please check
your database settings in the <code>settings.php</code>
file and ensure that your hosting provider's database server
is running. For more help, see the <a
moz-do-not-send="true" href="http://drupal.org/node/258">handbook</a>,
or contact your hosting provider.</small></p>
<p> i login to OS and run mysql, but got the "ERROR 2002
(HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)" error message.</p>
i try to login though phpmyadmin, but couldn't login there as
well.<br>
<br>
in the /var/log/apache2/error.log file, there is below output:<br>
<br>
[Wed Nov 03 21:23:25 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2
mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch
mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14
OpenSSL/0.9.8k configured -- resuming normal operations<br>
[Wed Nov 03 21:24:17 2010] [error] [client 192.168.35.103] PHP
Fatal error: Call to undefined function _system_theme_data() in
/var/www/includes/theme.inc on line 481<br>
[Wed Nov 03 21:24:20 2010] [error] [client 192.168.35.103] File
does not exist: /var/www/favicon.ico<br>
<br>
in the /var/log/mysql/error.log file, there is below output:<br>
<br>
101103 22:35:28 [Note] Plugin 'FEDERATED' is disabled.<br>
101103 22:35:28 InnoDB: Started; log sequence number 0 44233<br>
101103 22:35:28 [ERROR] Fatal error: Can't open and lock
privilege tables: Table 'mysql.user' doesn't exist<br>
<br>
it is much appreciated if you can help with this.<br>
<br>
thanks,<br>
qiubo su<br>
<br>
<br>
</div>
</blockquote>
</body>
</html>