Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
Treize13 #1
MySQL and PHP connect
I already created MySQL User and Password database in my hosting control
panel and connection strings code appears there. Before I will set up
testing server in site definition, I understand I have to make sure create a
database and add the tables via phpMyAdmin first. I am still not understand
the table running on localhost. For sample: Field, type of varchar, etc
etc...lenght/values, attributes, null, defaults, ectra, blah blah...it is
way over my head. I have DWMX with XP Pro...and I need to connect MYSQL and
PHP database works in localhost for to build the login page only.
Thanks.
Treize13 Guest
-
#40207 [NEW]: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL ser
From: arif at peshawaronline dot com Operating system: PHP version: 4.4.4 PHP Bug Type: Compile Warning Bug description: ... -
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
PHP to mySQL connect...
I have 2 machines, a server (Win NT server) and a workstation (Win XP Pro). On the server I have PHP, mySQL, Apache, Perl, etc. If I run this... -
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock' I got this trying to install DBI and DBD for mysql from... -
Seen this message? Can't connect to local MySQL server throughsocket '/tmp/mysql.sock'
Allen Marshall wrote: I just saw it in another newsgroup. Don't multi-post! -- Gunnar Hjalmarsson Email:... -
Michael Fesser #2
Re: MySQL and PHP connect
Treize13 wrote:
So where or what exactly is your problem?>[...] I am still not understand
>the table running on localhost. For sample: Field, type of varchar, etc
>etc...lenght/values, attributes, null, defaults, ectra, blah blah...it is
>way over my head. I have DWMX with XP Pro...and I need to connect MYSQL and
>PHP database works in localhost for to build the login page only.
If you don't understand the SQL syntax how to create tables than the
MySQL manual might help. If you have connection problems it might be a
PHP issue or missing privileges to access the server.
If you wanna build a login system I strongly recommend that you
understand what you're doing! Just click-and-play without knowing
what's going on won't take you any further and may raise security
problems.
Micha
Michael Fesser Guest
-
Pistolfire99 webforumsuser@macromedia.com #3
Re:MySQL and PHP connect
I suggest you goto [url]http://www.mysql.com/[/url] and then goto documentations and then follow up on the basics. You can also goto [url]http://www.w3schools.com/[/url]. They have a few very nice tutorials about SQL. After those, you will have a much clearer understanding of MySQL & PHP.
Pistolfire99
Pistolfire99 webforumsuser@macromedia.com Guest



Reply With Quote

