Dont worry. It worked. Yes i was supposed to create the database before 
using the restore command as it couldnt find the database.

Thanks neways,
Regards,
Harpreet kaur


>From: "Harpreet Kaur" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: mysqldump
>Date: Tue, 23 Apr 2002 16:08:23 +0000
>
>The mysql is working now and i can get into it. But when i type
>mysql databasename < /home/backup/backup_databasename.sql
>
>
>To restore a database do i need to have the database created first.
>
>i get an error message
>error 1044: access denied for user @localhost to database databasename
>
>If i log on as su root
>i get error message
>error 1049: unknown database databasename
>
>but i dont have the databas eyet . I want to create a new database.
>
>_________________________________________________________________
>Join the world’s largest e-mail service with MSN Hotmail.
>http://www.hotmail.com
>
>
>---------------------------------------------------------------------
>Before posting, please check:
>   http://www.mysql.com/manual.php   (the manual)
>   http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail 
><[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to