hey,
    
   run mysqldump from your command prompt and not you mysql prompt.

[EMAIL PROTECTED]:~> mysqldump --no-data osc -u admin
-- MySQL dump 10.9
--
-- Host: localhost    Database: osc


Thanx
Alex

On Fri, 7 Apr 2006, Mark Sargent wrote:

> alexj wrote:
> > try mysqldump --no-data <database-name> -u <user-name>
> Hi All,
> 
> thanx, but get the following,
> 
> mysql> mysqldump --no-data osc -u admin;
> ERROR 1064: You have an error in your SQL syntax near 'mysqldump
> --no-data osc -u admin' at line 1
> 
> Cheers.
> 
> Mark Sargent
> 
> 
> 

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to