using with powerstore
Hi
installed powerstore 3 and created the following connection
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_PowerStoreConnection = "localhost";
$database_PowerStoreConnection = "test";
$username_PowerStoreConnection = "ian";
$password_PowerStoreConnection = "starwood";
$PowerStoreConnection = mysql_pconnect($hostname_PowerStoreConnection, $username_PowerStoreConnection, $password_PowerStoreConnection) or trigger_error(mysql_error(),E_USER_ERROR);
?>
I then created one using dynamic connections
<?php
# FileName="WADYN_CONN.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_PowerStoreConnection = "localhost";
$database_PowerStoreConnection = "test";
$username_PowerStoreConnection = "ian";
$password_PowerStoreConnection = "starw00d";
@session_start();
$PowerStoreConnection = mysql_pconnect($hostname_PowerStoreConnection, $username_PowerStoreConnection, $password_PowerStoreConnection) or trigger_error(mysql_error(),E_USER_ERROR);
?>
The second throws up errors as shown in the attached file
Any ideas why?
thanks
Ian