Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a database in MySQL 5.0

Status
Not open for further replies.

FoxT2

MIS
Oct 3, 2003
143
US
Hi,

How do I create a database in MySQL 5.0. I used to do it this way in the previous versions...

mysqladmin create myDataBase

also how do I assign a database user name and password.

Is there a graphical interface that comes with MySQL 5.0 like the one that was in the older versions. I use to use winmysqladmin.exe to bring up a GUI with information on your MySQL database.

Thanks.
 
To set the password on Windows
Code:
shell> mysql -u root
mysql> SET PASSWORD FOR ''@'localhost' = PASSWORD('password');
mysql> SET PASSWORD FOR ''@'%' = PASSWORD('password');
To create a database
Code:
% mysqladmin -p create [i]<db name>[/i]

M. Brooks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top