473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

MySQL not working for PHP 5

I have a fresh install of MySQL and PHP 5 but PHP is saying that the
mysql_connect isnt there...does anyone know how to fix this?
Thanks in advance.

Matt

Jul 17 '05 #1
4 4755
PHP 5 comes with two MySQL extensions (original for version < 4.1, improved
for versions >= 4.1). Which one did you enable in the php.ini file?

--
Tony Marston

http://www.tonymarston.net

"Matt Crossley" <vb*********@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
I have a fresh install of MySQL and PHP 5 but PHP is saying that the
mysql_connect isnt there...does anyone know how to fix this?
Thanks in advance.

Matt

Jul 17 '05 #2
On 9 Dec 2004 16:27:26 -0800, Matt Crossley <vb*********@gmail.com> wrote:
I have a fresh install of MySQL and PHP 5 but PHP is saying that the
mysql_connect isnt there...does anyone know how to fix this?
Thanks in advance.

Matt

1) create file phpinfo.php
2) write
<?
phpinfo();
?>

3) find keywork mysql
if mysql exist then all ok else need recompile php on you server.

icq:75717272
--
(c)zagadum
Jul 17 '05 #4
On 10 Dec 2004 06:25:58 -0800, "Amit" <am********@sify.com> wrote:
http://groups-beta.google.com/group/php_programming


Hm. So Google, not satisfied with replacing Google Groups with a worse
interface, are now also trying to fragment Usenet further by adding completely
separate groups through the same interface? *sigh*

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John R | last post by:
I found this old thread while looking for some type of compression solution myself. Long story short, I contacted Lester and ended up writing an LZO solution just as Mark had mentioned below....
0
by: Cheng-Dar Yang | last post by:
Hello, I am not sure if this problem is due to Bugzilla or MySQL... But, some MySQL gurus here may be able to confirm if this is proper behavior of MySQL. Setup: Host A: RedHat 7.1, Bugzilla...
4
by: blizeach | last post by:
The problem is that when I installed Slackware I told it to install MySQL. I thought it did so. I looked around and found in the directory /etc/rc.d/ a file called rc.mysqld.new wich I read. It...
11
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time...
67
by: Bob Powell | last post by:
To whom it may concern: I find the recent articles in various trade publications a little disturbing due to the lack of PostgrSQL mention. I continue to see articles about how IBM may be...
5
by: NewbieSupreme | last post by:
I installed Apache 2.0.58, tested it, got the "working" page. Installed MySQL 5.0.22, and didn't really see how to test that, but there is a mysql process running in the task manager. Ran through...
1
by: Paul | last post by:
I recently upgraded from MySQL 3.23 to 4.1. Now db is not working properly. I'd very much like your help in solving this issue! Here's the code I used to test it: require_once 'DB.php'; $db...
1
by: edfialk | last post by:
Hi all, I'm desperately trying to get a simple mysql connection working in php 4.3.9 and I think I have a doozy for you guys. First of all, I didn't set up ANY of this system, I'm just working...
8
by: The Natural Philosopher | last post by:
This is so weird. What I am trying to do is to upload files and stuff them in a mysql database. Everything works except the file content is zero. using the load_file command from mysql...
1
ssnaik84
by: ssnaik84 | last post by:
Hi Guys, Last year I got a chance to work with R&D team, which was working on DB scripts conversion.. Though there is migration tool available, it converts only tables and constraints.. Rest of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.