I am using the O'Reilly book "Learning PHP & MySQL". Having installed Apache and MySQL using XAMPP, I followed the instructions in the book to access MySQL.
viz: start up a command prompt and type in "mysql". This gave a "not a command or recognised name" error.
Question 1: how do I get round this?
I then tried XAMPP control panel, using the MySQL Admin button. This flashed up a status panel for a few seconds then a Login window, inviting me to specify a username/password of my choice. I chose my normal user and password. It seemed quite happy for a bit, but then a pop-up window popped up with the message "Access violation of address 10002593 in module 'LIBMYSQL.dll'. Read of address 00000000." This window then continued to pop-up every second or so until I deleted the running process winmysqladmin.exe. This stopped it but when I rebooted the messages started again immediately.
I suspect that I will now have to uninstall everything and start again, probably using the manual procedure documentd in the book.
I am using Windows XP Home fully updated using automatic update.
Question 2: Is there a way out?