Home > Php Mysql > Php Mysql Error 10048

Php Mysql Error 10048

Email check failed, please try again Sorry, your blog cannot share posts by email. %d bloggers like this: php.net| support| documentation| report a bug| advanced search| search howto| statistics| random bug| Copyright © 2001-2016 The PHP Group All rights reserved. Reproduced Statement: This switched Recommended Virtual LAN roughly configuration steps, principle - Cisco Today to learn a little more, a little lane is Accumulation of good programming habits Get Started Developing Join the community of 500,000 technology professionals and ask your questions. http://iipseconline.com/php-mysql/php-mysql-db-error.html

Back to top #2 fenway fenway MySQL Si-Fu / PHP Resident Alien Staff Alumni 16,199 posts LocationToronto, ON Posted 18 August 2006 - 06:05 PM Hard to say... Additional information: blockade outside the firewall connected to the local port 3306! Connect with top rated Experts 24 Experts available now in Live! Reproduced Disclaimer: This article switched from ================================================== ================== MySQL Error Details 10048,10055 solution summary The recent collapse of the server database from time to time out, depressed, find a lot of official site

Eg.Using PHP you have the "mysql_connect" and the alternative is "mysql_pconnect". Also, worth checking if you have sql bound to both the loopback and the actual IP address and try accessing it there. Featured Post Why You Should Analyze Threat Actor TTPs Promoted by Recorded Future After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific We resolved it by changing the maxuserports registry setting.

You can change your script to do just ONE try of connection, BUT if you did as I did, this is something near the "impossible". To enable pooling select "Pool Connections to this driver" The full article can be found here: http://www.cryer.co.uk/brian/mysql/trouble_odbc_cant_connect_on_localhost.htm 0 Message Author Comment by:nabil_zakkak2008-10-20 But I am not using odbc driver to I am using php command "mysql_connect ". CONTINUE READING Suggested Solutions Title # Comments Views Activity AJAX PHP MYSQL Date from input being entered as 12/31/1969 8 58 82d mysql_connect issue on xampp and opencart 3 50 67d

These methods are summarized in turn. Look at the log, so prompt: -------------------------------------------------- ------------------------------ MySql: ready for connections MySql: ready for connections Cannot initialize InnoDB as 'innodb_data_file_path' is not set. In our example situation we have this network schema (see atachment). Experts Exchange Xpdf - PDFfonts - Command Line Utility to List Fonts Used in a PDF File Video by: Joe In this seventh video of the Xpdf series, we discuss and

if people don't start reading this before posting, I'm going to consider not answering at all. Find the super palindromes! After I leave it idle for a while it goes back to running fine but then crashes again when too much load is put on. Go to Solution 18 Comments LVL 5 Overall: Level 5 MySQL Server 1 Message Expert Comment by:vibrazy2008-09-26 Hi, I have found this in expert exchange.

How to repeat: If using MySql Connector .NET, try the following code to connect to MySql public DataSet SelectQuery(string sql) { MySqlConnection conn = new MySqlConnection(); DataSet dset1 = new DataSet(); Asp.Net is using Ephemeral Ports to connect MySql via ODBC but in Windows 2003 server there is no maximum port value defined in registry (surprisingly on Windows XP it is). This value will wait time is 30 seconds. Any advice on how to fix this?

In theory enabling connection pooling would address this problem. http://iipseconline.com/php-mysql/php-mysql-error-reporting.html This will open up the "Set Connection Pooling Attributes" dialog. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. To open the Registry Editor regedit The TcpTimedWaitDelay set: Find HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services / TCPIP / Parameters registry subkey and create a new REG_DWORD value named TcpTimedWaitDelay

just see what the your connection limits are set to, and if the mysql error log has anything revealing. Privacy Policy Site Map Support Terms of Use Sandip's Programming Zen An attempt to share tech/coding experiences Solution: ERROR 2003, Can't connect to MySQL server on ‘localhost' (10048) with 8 comments However, if you find this port range is all in use, as others mentioned, you may have an underlying issue with connections not being closed. his comment is here Do I need to do this?

Use this solution on your Own risk. Click Start, click Run, type regedit.exe, and then click OK. 2. In addition, the landlord MySQL server is not installed a firewall?

We have 1 db, with 2 windows servers accessing it, but on occassion, one or the other is unable to access it.

Thanks in advance. [21 Jul 2005 1:47] p t Sorry, turns out it was the Windows issue: "Unable to Connect from TCP Ports Above 5000". This will open up the "ODBC Data Source Administrator". It's documented in the mysql docs and worked like a charm for us on Windows 2003 Server. A temporary solution, blocked IP, an IP connection greater than 3 is a little unusual, sealing 3.

If your application is using data connections in large numbers than sooner or later it will stop responding after some time and only way to make it working again is resetting Try it.. I guess you could be running out of connections, though the defaults are usually set quite high. http://iipseconline.com/php-mysql/php-mysql-if-error.html You can take a look here for the documentation http://dev.mysql.com/doc/refman/5.0/en/connector-net.html and download source and binaries here http://dev.mysql.com/downloads/connector/net/1.0.html Abx78 May 21, 2008 at 2:21 pm Reply Thanks this helped me a lot.

Please re-enable javascript to access full functionality. Like I said at the start this is only an issue with Win XP and Win 2003, but not Win 2000. Muhammad Hasnain September 7, 2008 at 1:49 am Reply it really helped thanx i m using version 5,window xp aditya October 23, 2008 at 3:24 pm Reply You get this error The advantage of this is that if the connection needs to be reopened it can be done at a lower cost.

Seriously... Quit Registry Editor. I am handling with a database of 25,000 records. thanks piyush March 17, 2011 at 7:38 pm Reply Leave a Reply Cancel reply Enter your comment here...

Sometimes, the actual request is TRUNCATED, so the server doesn't finish what it was doing before the problem. MySQL will automatically close a connection after 8 hours. Join the community of 500,000 technology professionals and ask your questions. The default value is 0x1388 (5000 decimal).

All rights reserved. how I fixed it? I was using the connection method mysql_connect ().