i had a similar problem i think in that mysql was saying cannot connect to localhost using password:yes
Basically it didn't like the fact that I was supplying a password
e.g. mysql -uusrname -ppassword
however when i entered
mysql -uusrname -p
I received a prompt to enter my password...when...
Sorry tshot, it did complain about that but I used the command
NET STOP MYSQL (i had seen this somewhere else on the web)
To resolve this I copied my database folder from the data section. deleted both instance of the mysql i had on my system, used regleaner to remove entries from the registry...
I think the mysql server begins on startup...would I go to 'msconfig' to stop this from occuring, so that I can manually start the server using the above prompt?
I tried the above but my mysql command prompt simply froze.
Looking again I think I needed to put mysqld --datadir=<B>C:</B>/mysql/data instead
By the way I only have one my.ini and that is stored in windows
I have managed to enter a user using the grant command.
I am now having the problem that mysql is pointing to the old data folder located in
c:>program/file/mysql/data
instead of
c:>mysql/data
I have checked my.ini located in my windows folder but this points to c:>mysql/data
any ideas...
OK, I have done that but now I can not even get into mysql mode to change the password :(
Is it possible to do this via mysqladmin?
I think I have seen this elsewhere on the net so I will continue to look but if you have the code to hand I would appreciate it if you could reply to this thread...
Hello all,
I have set up mysql for a second time on my system. (don't particular remember why but...)
I set up the password in my.ini that is stored in c:/windows
and obviously this same password is visible in winmysqladmin too.
However I use this command
mysql -ubhutz -p
and when prompted...
Please can somebody help me, i had configured appache and php fine so far. i managed to run the appache server and display my own php files(such as the ones shown in various guides around the net, e.g phpinfo.php and helloworld.php, etc...) on the address localhost/dir_of_file/file.php using my...
Please can somebody help me, i had configured appache and php fine so far. i managed to run the appache server and display my own php files(such as the ones shown in various guides around the net, e.g phpinfo.php and helloworld.php, etc...) on the address localhost/dir_of_file/file.php using my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.