Log in

View Full Version : Mysql login\pass


Mckaulic
12-04-2002, 12:45 PM
After I opened the window the first time, something went wrong and my pc rebooted. Now everytime I open it, it never shows me the username \ password page and I never entered one before. How do I get to re-make one?

un-installing and retrying didn't work either.

inkubus
12-04-2002, 01:05 PM
You can sort this quite easily by locating the my.ini file that is created by the winmysqladmin tool.

Goto your Windows directory (c:\windows or c:\winnt) and open the my.ini file. In there you should have something similar to the following:

#This File was made using the WinMySQLAdmin 1.4 Tool
#03/12/2002 19:01:26

#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions

[mysqld]
basedir=C:/mysql
#bind-address=192.168.0.7
datadir=C:/mysql/data
#language=C:/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-nt.exe
user=***********
password=***********

Change the above two values to whatever you'd like to use and you should be good to go.

Hope that helps!

InKy