A few queries about LAMP. My LAMP is not burning!
I hope this is the correct forum.
I have installed mysql as a slaptpkg. Although I have followed up everyone else's problems and tried the same solutions mine is still unable to connect. I get the same ERROR 2002 (HY000): Can't connect . . . . . etc that everyone else gets. Then I get: Quote:
I got all the groups and permissions in place. In /etc/my.cnf it points to /var/run/mysql/mysql.sock though I have tried /var/lib and /tmp Another thing is: I installed Apache and also php. How can I test that these are up and running? Give me oil in my LAMP! |
Hi,
Quote:
Quote:
Code:
<?php Regards |
Thanks for that.
I still cannot get it all together. For the record I found this link on another similar thread http://connie.slackware.com/~mrgobli...kware-lamp.php And it does provide easy to follow directions. So I have Apache and php up and running, Its just this 2002 error in Mysql that im battling with. |
Like said above, check the system logs under /var/log and the mysql log (/var/lib/mysql/darkstar.err)
|
/var/lib/mysql/darkstar.err
looks like this Quote:
but it gives an ERROR 2002 message once again. I think my "server" is not installed or not started but there is no other package to install. I have also tried mysqld_safe --user=mysql & and mysqld_safe & and mysqld_safe --user=root & I also bought the book called Teach Yourself MYSQL in 10 minutes <ha ha> Any good pointers welcome! |
|
Can I ask why you installed mysql from slaptpkg when Slackware comes with mysql by default? I'm wondering two things: 1) is the slaptpkg package up to snuff, and 2) by potentially installing a second mysql, did the config files get messed up?
And lastly, did you run mysql_install_db? |
Thanks bathory, Im working on it.
Hangdog42, Im actually running the latest Salix which is suposedly like a light-weight Slackware. Mainly because Im not fully into bittorrent yet. Im quite impressed with Salix's similarity to Slackware and its compact size. I didnt find MySql on the system. Hey, I like your website man! |
All times are GMT -5. The time now is 08:30 PM. |