I have just installed MySql 4.0.15 from package [mysql-4.0.15-win.zip] onto my Win2000 
box.

After doing the binary install, I got a 'cmd' prompt and followed the install 
directions.
http://www.mysql.com/documentation/mysql/bychapter/index.html

I followed the 2.1.1.1 Installing the Binaries text.

1) I stopped the server
    NET STOP MySql

Then I ran these
C:\> C:\mysql\bin\mysqlshow
C:\> C:\mysql\bin\mysqlshow -u root mysql
C:\> C:\mysql\bin\mysqladmin version status proc
C:\> C:\mysql\bin\mysql test
 ... all good.

then
C:\> C:\mysql\bin\mysql mysql
mysql> DELETE FROM user WHERE Host='localhost' AND User='';
mysql> QUIT
C:\> C:\mysql\bin\mysqladmin reload
C:\> C:\mysql\bin\mysqladmin -u root password your_password
After you've set the password, if you want to shut down the mysqld server, you can do 
so using this command: 
C:\> mysqladmin --user=root --password=your_password shutdown


So now that all this is done I am lost.

I want to be able to go create Databases, do Queries etc from the 'command' window, 
and also through JDBC java.

questions:
1) After I did the above is the server running or not? I believe I need to do a NET 
START MySql
    And if so, is there a way to make this a service that starts up when my box comes 
up?

2) Do you need the server running in order to use the Database from Java?

3) What is the proper way to start the >mysql prompt. I want to ensure that I am 
secure.

Thanks,
Scott


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

Reply via email to