php-windows Digest 22 Jun 2002 19:16:26 -0000 Issue 1206
Topics (messages 14340 through 14345):
Mysql socket error :\
14340 by: Marco Lanini
14343 by: Nicola Delbono
14344 by: Marco Lanini
Upgrade to 4.2.1 stops script from working
14341 by: Kevin Smith
14342 by: Julie Meloni
14345 by: Brian Graham
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
i have a little big problem with my configuration.
I have:
Windows XP Home
Mysql 4.0.1 alpha
Php 4.1.2
Abyss Web Server (Freeware) www.apelium.com
the problem is:
when my script goes to connect with mysql
Warning: Can't create TCP/IP socket (10106) in provamysql.php on line 3
Warning: MySQL Connection Failed: Can't create TCP/IP socket (10106) in
provamysql.php on line 3
Can't create TCP/IP socket (10106)
the code of my simple script is
<?php
mysql_connect("127.0.0.1","root","admin") or die(mysql_error());
print("connected!!!");
?>
i have make a lot of tests...
127.0.0.1
localhost
webserver (network pc name)
thanks to all.
PS: sorry for my english, but i'm italian.
--- End Message ---
--- Begin Message ---
>Php 4.1.2
>Abyss Web Server (Freeware) www.apelium.com
><?php
>
>mysql_connect("127.0.0.1","root","admin") or die(mysql_error());
>print("connected!!!");
>
>?>
Is mysql server running?
did you flush privileges when you changed password to "admin"?
Can you connect via console? (dos prompt)
NB: Php 4.1.2 is crackable. Upgrade to 4.2!
Occhio che il php 4.1.2 è buggato.
Nicola Delbono
///////////////////////////////////////////
Il notiziario dei notiziari
http://www.notiziarioweb.it/
///////////////////////////////////////////
www.smscitta.com | www.musicalbox.it
www.filosofo.it | www.bollicine.com
--- End Message ---
--- Begin Message ---
mysql is running, i can connect to the mysql server with another pc in lan,
but is the web server that cannot connect to mysql server. i need help!!!
i'm goin crazy
grazie della dritta, mi aggiorno subito al 4.2
"Nicola Delbono" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>Php 4.1.2
>Abyss Web Server (Freeware) www.apelium.com
><?php
>
>mysql_connect("127.0.0.1","root","admin") or die(mysql_error());
>print("connected!!!");
>
>?>
Is mysql server running?
did you flush privileges when you changed password to "admin"?
Can you connect via console? (dos prompt)
NB: Php 4.1.2 is crackable. Upgrade to 4.2!
Occhio che il php 4.1.2 è buggato.
Nicola Delbono
///////////////////////////////////////////
Il notiziario dei notiziari
http://www.notiziarioweb.it/
///////////////////////////////////////////
www.smscitta.com | www.musicalbox.it
www.filosofo.it | www.bollicine.com
--- End Message ---
--- Begin Message ---
Hi All,
Just joined the list today... anyhow...
Recently upgraded to Windows 4.2.1 today from 4.1.1 and the following script
will not run.. Here is the GET URL method and the PHP code to output the
value of jpegifimage and this is the error I get.
http://www.lemonlainey.com/ebay/auctionoutput.php?jpegifimage=1997n1998teds.
jpeg&createAuctionPage=Create
Notice: Undefined variable: jpegifimage in
c:\apache\htdocs\www.lemonlaineydesign.com\www\ebay\auctionoutput.php on
line 2
CODE:
<?
echo($jpegifimage);
exit;
?>
This was working perfectly with 4.1.1 until I upgraded... any ideas?
Regards,
Kevin Smith
=======================================================================
This message has been scanned for viruses by Symantec's AntiVirus 2002.
=======================================================================
--- End Message ---
--- Begin Message ---
KS> Recently upgraded to Windows 4.2.1 today from 4.1.1 and the following script
KS> will not run..
The register_globals change would do this if:
KS> http://www.lemonlainey.com/ebay/auctionoutput.php?jpegifimage=1997n1998teds.
KS> jpeg&createAuctionPage=Create
createAuctionPage is also empty.
Either turn on register_globals, or use
$_GET[jpegifimage] and $_GET[createAuctionPage] in place of
$jpegifimage and $createAuctionPage
- Julie
--> Julie Meloni
--> [EMAIL PROTECTED]
--> www.thickbook.com
Find "Sams Teach Yourself MySQL in 24 Hours" at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--- End Message ---
--- Begin Message ---
I also upgraded from 4.1.2 to 4.2.1 and most of my scripts stopped
working -- seemingly randomly. At one point I loaded a page (we'll say
Page1.1, file name: sample7.php) into my window and it gave me Internal
Server Error; I loaded another page(Page2), it worked fine. I loaded the
first page again(Page1.2, which is just another instance of Page1.1 in the
history -- it is the same file, sample7.php), and it didn't work; but when I
would hit "Back" twice, it would take me back to it _would_ work. When I
went back to the most recent load of the page (Page1.2), it continued to not
work.
I turned off "Show friendly HTTP Error Messages" in IE6, but it continued.
HTML files were also loaded perfectly. When I downgraded back to 4.1.2,
however, my scripts worked again.
Any insight? Thanks in advance for any help on this.
"Julie Meloni" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> KS> Recently upgraded to Windows 4.2.1 today from 4.1.1 and the following
script
> KS> will not run..
>
> The register_globals change would do this if:
>
> KS>
http://www.lemonlainey.com/ebay/auctionoutput.php?jpegifimage=1997n1998teds.
> KS> jpeg&createAuctionPage=Create
>
> createAuctionPage is also empty.
>
> Either turn on register_globals, or use
>
> $_GET[jpegifimage] and $_GET[createAuctionPage] in place of
> $jpegifimage and $createAuctionPage
>
>
> - Julie
>
> --> Julie Meloni
> --> [EMAIL PROTECTED]
> --> www.thickbook.com
>
> Find "Sams Teach Yourself MySQL in 24 Hours" at
> http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
>
--- End Message ---