greeneel Posted February 26, 2006 Share Posted February 26, 2006 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 errorFatal error: Call to undefined function mysql_create_db() in c:\wamp\www\createmovie.php on line 8I 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 ? Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted February 26, 2006 Share Posted February 26, 2006 The password is probably blank.$connect = mysql_connect("localhost", "root", "")Use phpMyAdmin to change that asap if your server is accessable from the internet. Quote Link to comment Share on other sites More sharing options...
greeneel Posted February 26, 2006 Author Share Posted February 26, 2006 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 8running Apache version : Apache/1.3.33 (Win32)PHP version : 5.0.4MySQL version : 4.1.10a-nt - extension : mysqliIf i would need to show my script let me know, I am basically trying to create and add some information to the database..thx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.