Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

sql server (1 reply)

$
0
0
Hi . I installed the latest version of wamp software. I can't connect to the database or table that I made and send message 1049.
<?php
;
$dbhost = "localhost";
$dbuser = "root";
$dbpass = "";
$dbname = "a";
$connection = @mysqli_connect($dbhost,$dbuser,$dbpass,$dbname);
if(mysqli_connect_errno()) {
die("database connection failed : " . " " . mysqli_connect_error() . " (" . mysqli_connect_errno().")"
);
}

?>

//////////////////////
not condatabase connection failed : Unknown database 'a' (1049)

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>