![]() |
|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 2
|
Hi
I have the following line of code which creates a database using the msqladmin command line tool. c:\mysql\bin\mysqladmin create databasename -u root -p"password" The line works fine, but I would like to capture any of the screen output if possible. If the database does not already exist then there is no screen output, but if it does already exist then I get the following: "mysqladmin: CREATE DATABASE failed; error: 'Can't create database 'databasename'; database exists'" This is the screen output that I would like to capture and save to a text file or something, is there a way of doing this or is there a better way? Any help is appreciated!! Kind regards Shaun |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 Installing MySQL | Administrator | Documentation | 103 | 06-09-2004 02:53 AM |