Jump to content

[SOLVED] Cant Connect


Northern Flame

Recommended Posts

This isn't my first time working with MySQL,

but for some reason I can't connect to it,

am I doing this wrong?

 

<?php
$dbhost = "host";
$dbuser = "user";
$dbpass = "pass";
$dbname = "name";
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die
                     ("Error connecting to mysql");
?>

Link to comment
https://forums.phpfreaks.com/topic/59989-solved-cant-connect/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.