aspose file tools*
The moose likes JDBC and the fly likes MySql problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

MySql problem

sachin pachpute
Ranch Hand

Joined: Nov 04, 2004
Posts: 38
When i try to create a new database in mysql using the mysqladmin i encounter the following error
the command typed by me is
mysql>mysqladmin create petstore;

ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqladmin create petstore' at line 1or
--------------------------------------------------------------------------------
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
create database petstore


java amateur
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You could at least try the suggestion when this was first answered, before cross-posting.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31084
    
163

Closing duplicate post.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MySql problem