[EMAIL PROTECTED] wrote: > I have mysql installed on a pc running Windows 98. I recently had to > reformat a partitioned c drive. My tables were stored in a database > called samp_db. When I give the command "use samp_db" I get Error 1044: > Access denied for user: '@localhost' to database 'samp_db' When I give > the command create database samp_db I get the same error message, and I > get the same when I try to create a database with another name. How do I > create the database (and what is this > error)? Can I get the tables back under samp_db (I saved all mysql files > to the d drive)? Thanks in advance.
Recreate the data directory on C: and copy backup files into it like it was before you reformatted the drive. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]