[plug] sql2tinydns

Adam Hewitt ahewitt at globaldial.com
Thu Jul 31 16:40:59 WST 2003


Hi All,

I am trying to setup sql2tinydns and I am having some drama's. I have
installed the username and database ok into my SQL server, and I have
imported the schema ok also (i think, at least I didn't get any errors).
However when I try and bring up the webpage I am getting the following
error:

Fatal error: Call to undefined function: mysql_connect() in
/var/www/admin/sql2dns/includes/db.inc.php on line 50

now logic would tell me to have a look at line 50 in that php file which
has:

	# make the connection
	$link = mysql_connect ($dbhost, $dbuser, $dbpwd)
---->	  or die ("Could not connect");
	mysql_select_db($db, $link) or die("Could not select database");

I thought maybe it doesn't like the line break on the line before and
joined them, however I still got the same error and changed it back.

Has anyone used sql2tinydns and had similar issues? or anyone have an
idea?

Any help would be appreciated.

Adam.

PS. Please dont ask why I am using 'that tinydns sh*te'...lets just say
I dont have the option.





More information about the plug mailing list