Re: Remote Console on MySQL

From: Marco Ivaldi (raptor@0xdeadbeef.info)
Date: Fri Apr 07 2006 - 10:32:13 EDT


On Thu, 6 Apr 2006, David Ball wrote:

> Could be wrong here but I recall a 'system' command that you can use at
> the mysql> prompt to run OS commands.

[snip]

On Thu, 6 Apr 2006, Clemens, Dan wrote:

> I don't think the system command in mysql came into effect until
> mysql4.x - use 'system <command>'.

[snip]

On Thu, 6 Apr 2006, Rusty Bug wrote:

> I'm not sure if answer your question but the MySQL shell can interact
> with the OS with the "\!" (Execute a system shell command) command.

Both "system" and "\!" mysql _client_ commands run shell commands locally
(i.e. on the local system running the mysql client, with the privileges of
the current user) -- not remotely (on the host running the mysqld database
server, with the privileges of the user actually running it).

-- 
Marco Ivaldi
Antifork Research, Inc.   http://0xdeadbeef.info/
3B05 C9C5 A2DE C3D7 4233  0394 EF85 2008 DBFD B707
------------------------------------------------------------------------------
This List Sponsored by: Cenzic
Concerned about Web Application Security? 
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's 
Choice Award from eWeek. As attacks through web applications continue to rise, 
you need to proactively protect your applications from hackers. Cenzic has the 
most comprehensive solutions to meet your application security penetration 
testing and vulnerability management needs. You have an option to go with a 
managed service (Cenzic ClickToSecure) or an enterprise software 
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can 
help you: http://www.cenzic.com/news_events/wpappsec.php 
And, now for a limited time we can do a FREE audit for you to confirm your 
results from other product. Contact us at request@cenzic.com for details.
------------------------------------------------------------------------------


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:55:49 EDT