`mysql` lutfen yardim edin

piratka

New member
Katılım
12 Kas 2006
Mesajlar
4
Reaction score
0
Puanları
0
arkadaslar gallery sitesi kurarken bole bi hata werdi ne yapmaliyim lutfen erdim edin.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'kestel'@'localhost' (using password: YES) in /home/kestlbiz/public_html/lib/adodb/drivers/adodb-mysql.inc.php on line 366
localhost: Access denied for user 'kestel'@'localhost' (using password: YES)
 
Warning: mysql_connect() [function.mysql-connect]: Access denied for
user: '[email protected]' (Using password: YES) in
/ece/under/group14/public_html/insert.php on line 7
Unable to Select database

I have no idea what the cause is, any help would be appreciated.
Thanks in advance.

<?
$username = "group29";
$password = "xxxxxx";
$database = "group29";

mysql_connect('software-ece.rutgers.edu:3306',$user,$password);
@mysql_select_db($database) or die("Unable to Select database");

$query="CREATE TABLE contacts(id int(6) NOT NULL auto increment, first
varchar(15) NOT
NULL, last varchar(15) NOT NULL, phone varchar(30) NOT NULL, mobile
varchar(20) NOT NULL,
fax varchar(20) NOT NULL, email varchar(30) NOT NULL, web varchar(30)
NOT NULL,
PRIMARY KEY(id), UNIQUE id(id), KEY id_2(id))";

mysql_query($query);
mysql_close();
?>
Free T-SQL Code and Tips
SQL Server coding, T-SQL and query optimization tips - ALL FREE!
www.mssqltips.com
Windows Telnet Server
Runs Rshd, TelnetD, InetD Rexecd, Supports RF Handhelds
pragmasys.com
Ads by Google
phpman99's Avatar
phpman99
Guest
n/a Posts

July 17th, 2005
05:04 AM
#2

Re: Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'nobody@
That error means that the database group29 doesn't exist. Check your
database names.


"photoelectric" <[email protected]> wrote in message
news:[email protected] om...
> When trying to run the below script on an apache/1.3.26 with mysql and
> php I get the following error message:
>
> Warning: mysql_connect() [function.mysql-connect]: Access denied for
> user: '[email protected]' (Using password: YES) in
> /ece/under/group14/public_html/insert.php on line 7
> Unable to Select database
>
> I have no idea what the cause is, any help would be appreciated.
> Thanks in advance.
>
> <?
> $username = "group29";
> $password = "xxxxxx";
> $database = "group29";
>
> mysql_connect('software-ece.rutgers.edu:3306',$user,$password);
> @mysql_select_db($database) or die("Unable to Select database");
>
> $query="CREATE TABLE contacts(id int(6) NOT NULL auto increment, first
> varchar(15) NOT
> NULL, last varchar(15) NOT NULL, phone varchar(30) NOT NULL, mobile
> varchar(20) NOT NULL,
> fax varchar(20) NOT NULL, email varchar(30) NOT NULL, web varchar(30)
> NOT NULL,
> PRIMARY KEY(id), UNIQUE id(id), KEY id_2(id))";
>
> mysql_query($query);
> mysql_close();
> ?>



Böyle bişeymi....
 
hocam config dosyalarınız içindeki password değerlerini sitedeki mysql kullanıcı adınıza ait şifre ile aynı olmalı
 
Geri
Üst