Notice: Undefined variable: server in C:\wamp\www\resim\install.php on line 5

Notice: Undefined variable: user in C:\wamp\www\resim\install.php on line 5

Notice: Undefined variable: pass in C:\wamp\www\resim\install.php on line 5

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\resim\install.php on line 5

Notice: Undefined variable: database in C:\wamp\www\resim\install.php on line 8

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\resim\install.php on line 9

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\resim\install.php on line 9
Access denied for user 'ODBC'@'localhost' (using password: NO)


install.php ilk satırları veriyim
<?php


include("db-info.php");
$link = mysql_connect($server, $user, $pass);


$q = "CREATE DATABASE IF NOT EXISTS `$database`";
if (!mysql_query($q)) die(mysql_error());

if(!mysql_select_db($database)) die(mysql_error());




$q = "CREATE TABLE IF NOT EXISTS `blockedip` (
  `id` bigint(20) NOT NULL auto_increment,
  `ip` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;";

if (!mysql_query($q)) die(mysql_error());
db-info.php
<?
$server = "localhost";
$user = "root";
$pass = "";
$database = "imagehosting";
?>