use the mysql.exe file in c:/mysql/bin

double click it and it opens a dos shell where youcan do all commands!

mysql> use test;
Database changed

mysql> create table firsttable(
    -> ID int unsigned auto_increment,
    -> primary key(ID));
Query OK, # rows affected (0.00 sec)

mysql>


so on.. when you press enter it gives a new line, when you put a ; and
press enter it sends the query!

Etienne

Alex Shi wrote:
> 
> Hello,
> 
> I installed MySQL 3.23.46 on Windows2000. The mysql-nt started
> on Windows startup, and MysqlAdmin is also running well. I tried to
> create a database with it and it works! Everything looks perfect
> except I want to do something more than this admin tool can.
> What I need is to create/drop table, add/drop user for a certain
> database, and place query statement, etc.. However in MysqlAdmin
> I didn't see those I expected....Do I need to login to mysql from dos
> terminal for the admin job? Can I use phpmadmin for Win2k/apache/
> php/mysql platform?
> 
> I'm totally new for mysql on Windows, please help me out if anyone
> is familiar with this issue. Thanks in advance!
> 
> Alex
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-- 
Etienne Marcotte
Specifications Management - Quality Control
Imperial Tobacco Ltd. - Montreal (Qc) Canada
514.932.6161 x.4001

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to