Jump to content

Wampserver


greeneel

Recommended Posts

Helo all,

I installed wamp5 1.4.4 and its working fine so far. Now bein a beginner at PHP,Mysql, Apache and all that I was reading the e-book Begining PHP,Apache,Mysql Web development.

anyways i am trying to access and create a database in mysql and i get teh following error
Fatal error:

Call to undefined function mysql_create_db() in c:\wamp\www\createmovie.php on line 8

I think this maybe because i don`t know the password for the mysql server that wamp made when i installed everything because within the script i have this:

$connect = mysql_connect("localhost", "root", "mysqlpass")

my question is did wamp setup a username and pass for mysql ?
Link to comment
Share on other sites

thx bro will try it..




Did that and now getting the following error:

Fatal error: Call to undefined function mysql_create_db() in c:\wamp\www\createmovie.php on line 8

running
Apache version : Apache/1.3.33 (Win32)
PHP version : 5.0.4
MySQL version : 4.1.10a-nt - extension : mysqli

If i would need to show my script let me know, I am basically trying to create and add some information to the database..

thx
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.