Posted 26 February 2006 - 08:58 PM
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
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 ?
Posted 26 February 2006 - 09:02 PM
$connect = mysql_connect("localhost", "root", "")
Use phpMyAdmin to change that asap if your server is accessable from the internet.
Posted 26 February 2006 - 11:50 PM
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
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..
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users