Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-18-2004, 04:13 AM   #1
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
mysql syntax question

Hi all,

Ive got this database "test.12", but i can't drop it because it contains a "."
Anyone knows how to do this?

ERROR 1064: You have an error in your SQL syntax near '.1' at line 1
Old 05-18-2004, 06:30 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You've tried with single quotes as well?

mysql > DROP 'test.12'

If that doesn't work, you can always manually remove the database from /var/lib/mysql but that's not recommended.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL syntax problem Hydrap Linux - Software 1 08-11-2005 10:49 PM
Can't get pass this mysql syntax error Neruocomp Programming 5 07-24-2005 05:25 PM
Syntax question satimis Linux - Newbie 9 09-23-2004 07:47 AM
MySQL syntax issue michedlp Linux - Software 0 07-17-2004 10:04 AM
A Simple MySQL Query Question (I have Bad Syntax) bpk General 1 12-02-2003 09:04 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration