posted July 08, 1999 06:40 AM
Hello to all specialistsI have a Problem with together MySQL, PHP3 and Apache-Server on Windows95.
I run Apache-Server as Webserver , also on this machine runbs MySQLWIN32.
Ihave written a simple PHP3 code as follows:
<html>
<Title>Datenbanktest</title>
<head>
<a>Datenbank wird erzeugt...</a><br>
</head>
<body>
<!--Datenbank erstellen-->
<?
mysql_connect("localhost", "username") ;
@mysql_select_db("databasename");
$create = "CREATE TABLE test
(
Name CHAR(50),
)";
MYSQL_QUERY($create);
mysql_close();
?>
<a>Fertig.</a>
</body>
</html>
if let it run I get an errormessage as follows:
Warning: MySQL Connection Failed: Can't create IP socket (10036) in D:\Programme\Apache_Group\Apache\htdocs/create_table_katalog.php3 on line 11
Warning: MySQL Connection Failed: Can't create IP socket (10036) in D:\Programme\Apache_Group\Apache\htdocs/create_table_katalog.php3 on line 28
Warning: -1 is not a MySQL link index in D:\Programme\Apache_Group\Apache\htdocs/create_table_katalog.php3 on line 28
Warning: -1 is not a MySQL link index in D:\Programme\Apache_Group\Apache\htdocs/create_table_katalog.php3 on line 31
I need help because iàm really no know whats gonna happen here.
Thanks in advanced
Oliver
Thanks for your information but I have started MYSQL wi´th the command mysqld
already and the same problem appears.
[This message has been edited by baerinfodat (edited 07-08-99).]