Hi
I have created a password for mysql using mysql-front... it works fine in mysql-front....
But because I am learning Msql/Php using Kevin Yanks book I desided to use mysql dos prompt... with the following command... mysqladmin -u root -p status;(no prompt for a password I get the error 1064)
If I use the command... mysql> show databases;
I get a list of all databases.... this is without entering my password...
Hi
I am now finding that the localhost - root - password works in Mysql-front.. But when I enter the password in Mysql promt, the window closes and disappears???
I hope I get a response from someone .... please remember when you were all beginers!!!!This maybe a simple problem to you .. but not to me as a newbie...
thanks Malc
after many hours of trying to sort this out and reading 5 darn books on the subject..... Haaaaaaaaaaaaaaa tension breaker
I found alot of users in mysql-front... before deleting these I tried mysql prompt( the reason for this is because I am learning mysql/php by using a book by Kevin Yanks) and it worked ok... so I got rid of most of the users, leaving localhost - root - password and root - % ... mysql prompt still worked.....
But when I removed root - % and tried to access mysql via mysql prompt using command... mysql -h host -u user -p the mysql prompt opens with req for a password... I enter the password and the prompt closes or(dissapears)
Very strange indeed... but I feel sure one of you guys will put me right...right!!!
3. Then C:\FoxServ\mysql\bin>mysql to open mysql...
4. Or C:\FoxServ\mysql\bin>mysqladmin opens mysqladmin... you have to close mysql if you was using mysql first..
Now I know this is very basic for some of you on this forum .... but let me add that I have 5 books on mysql and php(1 being Kevin Yanks's) and not one of them covers this basic dos stuff....
I am sure there will be alot of newbies like myself who have probably had the same problems and Have little or no experience with command lines and dos promt and they need this to enter mysql moniter or prompt...
Might I suggest phpMyAdmin? It is a free GUI for MySQL, so you don't have to use the command line.
I started out with Kevin's book, and used this GUI from the beginning on without any problems, everything is pretty straightforward and easy to comprehend. You might find it useful .
Bookmarks