#33026 [NEW]: MySql Connection Problem
| From: | mks_ekm at yahoo dot com | Date: | Fri, 13 May 2005 08:57:47 +0000 |
| Subject: | #33026 [NEW]: MySql Connection Problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78972@lists.php.net to get a copy of this message | ||
From: mks_ekm at yahoo dot com
Operating system: Windows Xp
PHP version: 5.0.3
PHP Bug Type: MySQL related
Bug description: MySql Connection Problem
Description:
------------
I am using PHP 5.0 with Apache 2 web server.
It is working properly. When I am booting my system, it will give one
warning message like Can not upload php_msql.dll file to windows
dynamic link library.
But it is working properly.
When I am trying to connect Mysql 4.1.11 it is giving the error like,
Fatal error: Class 'mysqli' not found in D:\Program Files\Apache
Group\Apache2\htdocs\conn3.php on line 2.
I have an important work to complete.
I can create Database and Tables inside my Mysql, and performing all
database operations also.
Because of the connection problem I am struggling a lot.
I cant go further with out solving this problem.
The next problem is that I dont where and how to compile the PHP with
Mysql?
Please help me to solve these problems.
I am new to this technology.
Reproduce code:
---------------
$link=mysql_connect("localhost","root","server");
Expected result:
----------------
The compilation code for PHP with Mysql.
Code for connecting (not musql_connect():)
Any ODBC connectivity..
Code for basic connection..
Description for making a connection..
Reason for this problem..
Actual result:
--------------
Database Connection with Mysql..
--
Edit bug report at http://bugs.php.net/?id=33026&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33026&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33026&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33026&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33026&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33026&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33026&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33026&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33026&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33026&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33026&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33026&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33026&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33026&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33026&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33026&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33026&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33026&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33026&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33026&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33026&r=mysqlcfg