From:             arif at peshawaronline dot com
Operating system: 
PHP version:      4.4.4
PHP Bug Type:     Compile Warning
Bug description:  Warning: mysql_connect() [function.mysql-connect]: Lost 
connection to MySQL ser

Description:
------------
when i run my pages on local computer it works fine but on the server it
returns the following errors:



Warning: mysql_connect() [function.mysql-connect]: Lost connection to
MySQL server during query in
/home/scprd/public_html/inc/news_ticker/news_ticker.php on line 4

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for
user 'nobody'@'localhost' (using password: NO) in
/home/scprd/public_html/inc/news_ticker/news_ticker.php on line 5

Warning: mysql_select_db() [function.mysql-select-db]: A link to the
server could not be established in
/home/scprd/public_html/inc/news_ticker/news_ticker.php on line 5

Warning: mysql_query(): supplied argument is not a valid MySQL-Link
resource in /home/scprd/public_html/inc/news_ticker/news_ticker.php on
line 14

Warning: mysql_error(): supplied argument is not a valid MySQL-Link
resource in /home/scprd/public_html/inc/news_ticker/news_ticker.php on
line 39
Failed to execute query at line 75: 
SQL: select * from news_ticker where sttus=1 order by id desc

Reproduce code:
---------------
www.scprd.com/index2.php

Expected result:
----------------
to show the data from the database.

Actual result:
--------------
dont know

-- 
Edit bug report at http://bugs.php.net/?id=40207&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40207&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40207&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40207&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40207&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40207&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40207&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40207&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40207&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40207&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40207&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40207&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40207&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40207&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40207&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40207&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40207&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40207&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40207&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40207&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40207&r=mysqlcfg

Reply via email to