Not quite a solution, I think. What about if /var/www mounts in a
different filesystem than /var?
Hardlinks from chrooted environments don't seem to be a wise solution
anyway... Just IMHO.
Regards,
Dani
El 12/03/2010 12:16, Sunnz escribiC3:
2010/3/11 Janmalepa...@googlemail.com:
I didn't
On Fri, Mar 12, 2010 at 6:58 PM, Daniel Gracia Garallar
danie...@electronicagracia.com wrote:
Not quite a solution, I think. What about if /var/www mounts in a different
filesystem than /var?
how about
- tell mysql to create sock file in /var/www/var/run/mysql; or
- tell php to connect to
2010/3/12 Daniel Gracia Garallar danie...@electronicagracia.com:
Not quite a solution, I think. What about if /var/www mounts in a different
filesystem than /var?
Hardlinks from chrooted environments don't seem to be a wise solution
anyway... Just IMHO.
In that case you could change the
On Sat, 13 Mar 2010, Sunnz wrote:
2010/3/12 Daniel Gracia Garallar danie...@electronicagracia.com:
Not quite a solution, I think. What about if /var/www mounts in a different
filesystem than /var?
Hardlinks from chrooted environments don't seem to be a wise solution
anyway... Just
This has also worked for me in the past.
Bert
On 3/13/10 9:27 AM, L. V. Lammert l...@omnitec.net wrote:
On Sat, 13 Mar 2010, Sunnz wrote:
2010/3/12 Daniel Gracia Garallar danie...@electronicagracia.com:
Not quite a solution, I think. What about if /var/www mounts in a different
filesystem
On 2010-03-13, Sunnz sun...@gmail.com wrote:
2010/3/12 Daniel Gracia Garallar danie...@electronicagracia.com:
Not quite a solution, I think. What about if /var/www mounts in a different
filesystem than /var?
Hardlinks from chrooted environments don't seem to be a wise solution
anyway... Just
2010/3/11 Jan malepa...@googlemail.com:
I didn't notice, that httpd was still running.
kill -TERM ID_of_httpd
httpd -u
solved the problem. Thank you! Everything works fine!
Now that it works we know that it was a problem with chroot. It might
be a good practice now to hardlink the
Sounds very interesting.
But using find / -name mysql.sock isn't successful, so creating a
hardlink doesn't work. The directory /var/run/mysql doesn't exist either.
Jan
Sunnz wrote:
2010/3/11 Jan malepa...@googlemail.com:
I didn't notice, that httpd was still running.
kill -TERM
Jan wrote:
I didn't notice, that httpd was still running.
kill -TERM ID_of_httpd
httpd -u
solved the problem. Thank you! Everything works fine!
Well if you're happy running httpd non-chrooted, then fine (seriously).
I would not be though.
If not, there is more stuff to try in my last
I didn't notice, that httpd was still running.
kill -TERM ID_of_httpd
httpd -u
solved the problem. Thank you! Everything works fine!
Jan
Alexander Hall wrote:
Jan wrote:
Thank you for the numerous responses! Except the solution to change
localhost to 127.0.0.1 in the whole script, I
Jan wrote:
Thank you for the numerous responses! Except the solution to change
localhost to 127.0.0.1 in the whole script, I tried everything you
Do try that then. I dont know the script at hand, but it cannot be that
many places that creates a database connection, can it?
IIRC, localhost
Thank you for the numerous responses! Except the solution to change
localhost to 127.0.0.1 in the whole script, I tried everything you
proposed. It still doesn't work. Here a short review:
=== Are you trying to connect to the MySQL socket outside of the httpd
chroot?
=== after having run
Hello all together,
I installed PHP and MySQL on my box (running apache). When I try to
install Joomla, the MySQL Database is recognized by the precheck of the
install script. But when I try to connect to the database I get the
following error msg:
Unable to connect to the database: Could
Jan wrote:
I added the following 3 packets, installed MySQL and set the symbolic
links:
mysql-server-5.0.51ap1.tgz
php5-core-5.2.6.tgz
php5-mysqli-5.2.6.tgz
Any ideas?
Jan
At the very least you'll also need the php5-mysql-5.2.6.tgz package
installed as well. It contains the base
On Mon, Mar 8, 2010 at 10:07 PM, Jan malepa...@googlemail.com wrote:
Any ideas?
Are you trying to connect to the MySQL socket outside of the httpd chroot?
Floor
--
Floor Terra flo...@gmail.com
www: http://brobding.mine.nu/
On 8 Mar 2010, at 21:07, Jan wrote:
Unable to connect to the database: Could not connect to MySQL
Check that your code is connecting to 127.0.0.1 instead of localhost? Usually
fixes it for me and you don't need to worry messing around with sockets.
G.
--
Bought to you by the Department of
On Mon, 8 Mar 2010, Jan wrote:
Unable to connect to the database: Could not connect to MySQL
1) Create a simple phpinfo() page check to see that your MySQL is
configured properly. Did you install php-mysql?
2)
I'm also able open the DB using mysql -u root -p.
The only valid test is with the
On Mon, Mar 8, 2010 at 9:07 PM, Jan malepa...@googlemail.com wrote:
Hello all together,
I installed PHP and MySQL on my box (running apache). When I try to install
Joomla, the MySQL Database is recognized by the precheck of the install
script. But when I try to connect to the database I get
18 matches
Mail list logo