This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JDBC and the fly likes MySql problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 26489
    
  78

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: MySql problem
 
Similar Threads
using MySql
My SQl prob
Mac OS 10.3.6 and J2EE, DB, Servlets, ...
mysql connection on jserve
Installing mysql on Linux