If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > create database if not exists mybase -> error :(

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-03, 09:37
iubito iubito is offline
Registered User
 
Join Date: Nov 2003
Location: France
Posts: 5
Unhappy create database if not exists mybase -> error :(

Hi !

I'm using mysql 4.0.15

with command-line MySQL or with SQLyog, I can create a database easily without any problem
Code:
CREATE DATABASE IF NOT EXISTS `INTRANET`
simply works great.

But if I create a database using my JAVA/Servlet application, I get an error, I try to translate it into English :P
Quote:
[SQL0199] the keyword NOT is not at the right place. Expected : <END-INSTRUCTION>.
And I can't solve it !
What is amazing is that a few days ago it worked very very well ! I don't understand what happen

Do you have an idea ?
Thanks in advance.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On