problems im mysql-functions
Posted by: Noowa (77.42.129.---)
Date: October 20, 2007 07:56PM

HI,
im novice to web programming, i downloaded WAMP5 server, worked with PHP scripts,
but when i began Mysql,scripts just dont run, this is a simle script:
<?php
$con=mysql_connect("localhost"winking smiley;
if(!$con)
die("couldnt connect: " . mysql_error());

mysql_close();

?>

output was:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\projects\mysql\database.php on line 2
couldnt connect: Access denied for user 'ODBC'@'localhost' (using password: NO)

plz help

Options: ReplyQuote
Re: problems im mysql-functions
Posted by: yfastud (---.mia.bellsouth.net)
Date: October 20, 2007 08:27PM

Check Setup Password section on my site for idea

Have fun,

[test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)

Options: ReplyQuote
Re: problems im mysql-functions
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: October 26, 2007 05:16PM

see the phpmyadmin section of my manual. link to manual is in my sig.


CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my WAMP User Manual/Guide here!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote


Sorry, only registered users may post in this forum.