Best of Technical Support  Our experts answer your technical
questions. PHP Can't Connect to MySQL  I installed MySQL3 and
PHP4 with an RPM package. Apache is running well and the MySQL
server is running well from the shell. PHP4 also runs with the
infophp() function call. But I can't connect to the MySQL
server. What's wrong? —Haidar AM,  You did not mention it, but I
am assuming that the phpinfo script showed that you do have
support for MySQL. If this is the case, please check the MySQL
table to make sure that the user/password/host, localhost in
this case, are correct. —Mario Neto,  Automating Keyboard Tasks
I've been handed the task of automating various software tasks
for a company and a lot of it will entail emulating keyboard
input. How can I echo key commands from a script to a program?
I've not even been able to find a thorough list of what keys map
to what escape sequences. Can anyone help? —Paul,  Try the
expect command. Linux Journal published an article about it a
couple of months ago [That wou