Drupal Database Tables

apps

#1

I am trying to install drupal and i am this step

  1. LOAD THE DRUPAL DATABASE SCHEME

Once you have a database, you must load the required tables into it.

If you use a web-based control panel, you should be able
to upload the file ‘database.mysql’ from Drupal’s 'database’
directory and run it directly as SQL commands.

From the command line, use (again, replacing ‘nobody’ and
’drupal’ with your MySQL username and name of your database):

mysql -u nobody -p drupal < database/database.mysql

I have logged into my shell and i keep getting the message after i enter my password

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

Further test…weird behaviour

[garland]$ mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)


#2

You must specify the hostname, too.

:cool: Perl / MySQL / HTML+CSS


#3

thanks but i just used phpmyadmin