Re: I made it, but have other problem
Posted by:
Yaniv Kri
Date: June 16, 2005 09:06AM
that's what I get:
'
Connected successfully '(echo output)
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in c:\Inetpub\wwwroot\targisikum\dbconnect.php on line 15
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in c:\Inetpub\wwwroot\targisikum\dbconnect.php on line 15
Error Creation Table..... '(echo output)
when I'm connecting to DB in MYSQL, I use Password..
this the code for Table creation:
$sql= "CREATE DATABASE tik_tak";
if (! mysql_query($sql)) {
echo '<BR>Error Creation Table.....';
}
else {
echo 'Created';
}
Thanks again.
Subject
Written By
Posted
Re: I made it, but have other problem
June 16, 2005 09:06AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.