Recently bought (yeah, i wanted the stickers icon_wink.gif ) RH9 and installed it. WOOHOO! This is great so far. I installed all packages at setup and have php and apache all set. In fact, it was already taken care of, all i had to do was type $ httpd start and then i was up and running with that. Now, I'm moving onto to mySQL. I'm clueless as how to get this working. I've spent nearly the whole day reading tutorials and this and that and that and this, but i don't even have a /usr/local/mysql folder! I'm thinking it's just a redhat 9 thing, because i checked and the package was installed.
Also, when i tried to run safe_mysqld i get
Code:
Starting mysqld daemon with databases from /var/lib/mysql
030419 18:38:27 mysqld ended
Again, when i made a simple PHP file called mysql.php i get
Code:
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/mysql.php on line 2
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/mysql.php on line 2
Now is it just me, or does something conflict in all these tuts im reading. In that error and in the safe_mysqld message, they both refer to /var/lib/mysql instead of /usr/local/mysql/. This just leaves me more in the clouds. GAH!
Thanks in advance for any help,
P.S.- So far, RH9 is excellent, rock solid and found ALL drivers and hardware better than windows