1
vote
2answers
27 views

php pdo connection cannot be established, but mysql command line client can

situation as follows: php script on server a, run by user 'web' (nginx + php-fpm) should access mysql on server b via pdo library, but gets SQLSTATE[HY000] [2003] Can't connect to MySQL server on ...
3
votes
2answers
122 views

Using pconnect on several databases in PHP on Apache2

I am running PHP in preforked(MOD_PHP) on an apache2 server. The setup is on linux Ubuntu 10.04. The database I am using is a firebird database 2.5.2. The apache2 server are running in a web cluster ...
0
votes
1answer
101 views

Is the connection from PHP to a different MySQL server 100% secure?

I tried to find this information but was not able to. How is working the connection from PHP to MySQL server. As the password is sored plain, is it also sent plain to MySQL if it is stored on a ...
0
votes
1answer
919 views

apr_socket_recv: Connection timed out (110)

I have nginx/php-fpm running but I am getting the following: apr_socket_recv: Connection timed out (110) This is a massive big box. 16 cores/24GB RAM What do I need to tune to increase the allowed ...
0
votes
0answers
151 views

PHP MySQL script - sometimes it works well, sometimes the connection resets

I have a PHP script that queries a MySQL table and exports to .csv. Pretty basic stuff. About 1000 row table. The problem I'm having is that sometimes it will work instantly (download the .csv), ...
0
votes
1answer
4k views

what is the limit of maximum simultaneous connection for php mysql codeigniter?

I build a site in CodeIgniter, which have to handle thousand of users in minute or like that. Is there any limit of maximum simultaneous connections for MySQL and PHP?
0
votes
1answer
146 views

MySQL Server Connection Socket Error

i just compiled MySQL 5.1 on SunOS 5.11 (i think xD) and now i have some problems. I am able to start the server via ./bin/mysqld_safe & and i can run the mysql* tool in /bin via Putty, however ...
0
votes
2answers
1k views

How does the MySQL connection on remote server works?

When I connect to my MySQL database locally I use: $host = 'localhost'; $db = 'myDB'; $user = 'root'; $pass = ''; When my site resides on remote server I use the following parameters to make a ...
0
votes
2answers
48 views

How do clients access a php app connected to the same WLAN as the server?

I have setup: <VirtualHost 127.0.0.1:9900> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName url.pews.info ErrorLog "logs/localhost-error.log" CustomLog ...
2
votes
4answers
773 views

MySQL max_user_connections

We're releasing a site in a couple of weeks that has been developed on a local machine but now when were testing on dev server we get MySQL error 'max_user_connections'. We have talked to the ...
1
vote
2answers
132 views

Apache PHP connections

I installed a site on a new Ubuntu server. When I'm downloading something from that site, the server doesn't accept additional connections from that user. If I click on one link it doesn't respond ...