Gentoo Archives: gentoo-user

From: Martin S <shieldfire@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] php & mysql problem
Date: Thu, 05 Jan 2006 12:04:21
Message-Id: 7ad4c500601050357n1bdc48ccw@mail.gmail.com
In Reply to: Re: [gentoo-user] php & mysql problem by Alexander Kirillov
1 Yes, everything installs fine with Typo3. At least it looks like it.
2 Only thing is that after the installation routine I get the error messages.
3
4 2006/1/5, Alexander Kirillov <nevis2us@××××××××.su>:
5 >
6 > > I'm installing Apach2, Mysql 5.0.18 and PHP 5 on my laptop for a
7 > project.
8 > > However, when I install the main CMS system (Typo3 4.0) I keep getting
9 > > various
10 > >
11 > > supplied argument is not a valid MySQL result resource
12 > >
13 > > So I did a test page to see that PHP was actually emerged with the
14 > > correct USE flags
15 > >
16 > > '--with-mysql=/usr/lib/mysql'
17 > > '--with-mysql-sock=/var/run/mysqld/mysqld.sock'
18 > >
19 > > And did a check that I have the socket in the correct place
20 > >
21 > > martoni@SuicidalPuppy ~ $ ls -l /var/run/mysqld/mysqld.sock
22 > > 'srwxrwxrwx 1 mysql mysql 0 Jan 3 05:35 /var/run/mysqld/mysqld.sock
23 > > martoni@SuicidalPuppy ~ $
24 > >
25 > > I've tried with PHP4 and PHP5, with MySQL 4.x and 5.x
26 > >
27 > > I still can't get the system up. And the code is valid, as others are
28 > > running the beta code, and I had a Typo3 system
29 > > before my forced reinstallation.
30 > >
31 > > I've read contless articles on Gentoo and Typo3 forums/lists but
32 > still...
33 > >
34 > > Any suggestions how to get past this?
35 >
36 > There should be enough information in PHP and MySQL logs
37 > to troubleshoot problems of this sort. Don't know anything about Typo3
38 > but an app of this kind should come with a script which creates
39 > databases, tables, users and grants privileges needed.
40 > So I'd suggest to stop playing with PHP and MySQL versions -
41 > they're pretty much backward compatible and dig into Typo3-related issues.
42 >
43 > --
44 > gentoo-user@g.o mailing list
45 >
46 >
47
48
49 --
50 Regards,
51
52 Martin S

Replies

Subject Author
Re: [gentoo-user] php & mysql problem Alexander Kirillov <nevis2us@××××××××.su>