Jump to content

Archived

This topic is now archived and is closed to further replies.

davidguz

PROBLEM WITH BEGINNER TUTORIAL WITH COOKIES SECTION

Recommended Posts

I was doing a cookie tutorial for beginners and when I submit a password and I get this reponse when I submit:
[b]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)[/b]

Does this mean the Mysql is not enabled?

Beginner,
David A Guzman

Share this post


Link to post
Share on other sites
In order to get PHP & MySQL to work correctly togethere, there's a good amount that has to happen first, you have to have a web server (apache) set up.  Then you have to install PHP.  Then you have to install MySQL.  Then you have to know how to tie all of them together.

Might I recommend picking up a book on the subject if you're really interested in learning this stuff.  You could try 'PHP and MySQL for Dynamic Web Sites' by Larry Ullman.  Amazon.com.

Share this post


Link to post
Share on other sites
Guest David Guzman
Is this book good for beginner like me? ???

Share this post


Link to post
Share on other sites
The book is written with the beginner in mind.  It's what I use.  I knew nothing about PHP a month ago, now I do.  Would recommend it, also, read the Amazon reviews.

Share this post


Link to post
Share on other sites
In my opinion there are thousands of books that teach you php apache mysql but as i have noticed that most books even out like yesterday are not upto date.

I do recomend useing the offical website program links to learn how to program and install verious applications.

I my self have lots of books stating verious codes and inpletmations of programs that differ from the offical sites.

The whole idear for gpl is free so the online information is the most inportant.

Share this post


Link to post
Share on other sites
Thanks for your guys' help I will utilize both the book that and the php website that you recommended. What's a good site for php tutorials? :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.