<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&#39;s database server is running. For more help, see the <a 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 &quot;ERROR 2002 (HY000): Can&#39;t connect to local MySQL server through socket &#39;/var/run/mysqld/mysqld.sock&#39; (2)&quot; error message.</p><p></p>i try to login though phpmyadmin, but couldn&#39;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 &#39;FEDERATED&#39; is disabled.<br>101103 22:35:28  InnoDB: Started; log sequence number 0 44233<br>101103 22:35:28 [ERROR] Fatal error: Can&#39;t open and lock privilege tables: Table &#39;mysql.user&#39; doesn&#39;t exist<br>
<br>it is much appreciated if you can help with this.<br><br>thanks,<br>qiubo su<br><br><br></div>