It's not a secret anymore!
The moose likes JDBC and Relational Databases 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 and Relational Databases
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: 32481
    
214

Closing duplicate post.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: MySql problem
 
It's not a secret anymore!