[typo] MySQL database... exists or not?
daejuan at gmail.com
Mon Jun 12 19:25:46 EDT 2006
It looks like you didn't drop anything. Linux & Unix software (unless
it's written to be case-insensitive) is always case sensitive. So typo
and TYPO are not the same.
You want to 'drop database TYPO'.
On 6/12/06, Hal Fulton <hal9000 at hypermetrics.com> wrote:
> OK, I did a 'drop database'... it seemed to work.
> Should I have dropped all the tables first??
> Anyway, if I try to drop it again, it tells me
> it can't drop it, it doesn't exist.
> If I try to restore my database (which first of all
> does a 'create database') it tells me it can't
> create it, it already exists.
> Any ideas?
> [root at www typo]# mysql
> Welcome to the MySQL monitor. Commands end with ; or \g.
> Your MySQL connection id is 32 to server version: 4.1.13-standard
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
> mysql> drop database typo;
> ERROR 1008: Can't drop database 'typo'; database doesn't exist
> mysql> commit;
> Query OK, 0 rows affected (0.00 sec)
> mysql> quit
> [root at www typo]# mysql <backup3.out
> ERROR 1007 at line 1: Can't create database 'TYPO'; database exists
> [root at www typo]#
> Typo-list mailing list
> Typo-list at rubyforge.org
Man Wit Da Plan.
More information about the Typo-list