Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
davebusey #1
MySQL help!!
sorry i posted this is general discussions, i meant to put it here, apologies
for the repetition...original post was
A Little help!? MySQL
--------------------------------------------------------------------------------
hello, im learning PHP as i go here, and have had a lot of success. However i
am on now on a new project, using a new server, and cant get started!
In trying to establish a MySQL connection, i get an error 405 method not
allowed.
my connection looks like this.
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_test = "192.168.140.##";
$database_test = "########";
$username_test = "########";
$password_test = "######";
$test2 = mysql_pconnect($hostname_test, $username_test, $password_test) or
trigger_error(mysql_error(),E_USER_ERROR);
?>
Any help here, i cant see what can be wrong. All the usernames and passwords
are correct. im shhhtuck.
Any help much appreciated.
Dave
davebusey Guest
-
#40471 [NEW]: PHP 5.2.1 failed to be compiled with MySQl 5.0.33, MySQL 5.0.27, MySQL 5.1.15
From: pcdinh at gmail dot com Operating system: CentOS 4.4 PHP version: 5.2.1 PHP Bug Type: Compile Failure Bug description:... -
#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'... -
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:...



Reply With Quote

