whenever i use mysql_connect() It gives Fatal errror of using unidentfied function
i'm using mysql version 4 on windows 7, what to do? it looks like php never heard of
that function, wonder if someone does have a straight forward solution?
samy.youssef.12
0
Newbie Poster
Recommended Answers
Jump to PostHave you got the correct modules enabled in your php.ini file?
Jump to PostIs there any reason why you're using mysql 4? The beta version of MySQL 5.0 was available in 2005 and 5.1 was official in 2008. Although that shouldn't stop you using mysql itself, makes me wonder what antiquated stuff you're trying to run.
Jump to PostOK, create a script with
<?php phpinfo(); ?>
and run it. Look for MySql in the resulting tables. If it isn't there then something is missing. Maybe the MySql driver?
Jump to PostThe usual port for a mysql server is 3306 not 3036.
Do you need to specify the port in your connection details?
All 16 Replies
hericles
289
Master Poster
Featured Poster
diafol
samy.youssef.12
0
Newbie Poster
hericles
289
Master Poster
Featured Poster
samy.youssef.12
0
Newbie Poster
diafol
samy.youssef.12
0
Newbie Poster
samy.youssef.12
0
Newbie Poster
samy.youssef.12
0
Newbie Poster
samy.youssef.12
0
Newbie Poster
iamthwee
samy.youssef.12
0
Newbie Poster
diafol
samy.youssef.12
0
Newbie Poster
diafol
samy.youssef.12
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.