Jump to content

Wampserver


greeneel
 Share

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

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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.