phpmyadmin point to wrong mysql socket
jim martin
postfix168 at yahoo.com
Thu Mar 10 18:06:41 UTC 2005
Sorry I got the answer... change auth type from config
to http.. it works thanks
--- jim martin <postfix168 at yahoo.com> wrote:
> Thanks!! I changed from "tcp" to "socket" and I got
> in
> now. Intially I specify the user and controlpass
> and
> the config. And I saw I can see every database info
> in the phpmyadmin page without authentication. But
> when I put the user and control pass as blank. I
> can't see the login page. What I see is the sample
> test database page. there is nothing thing there
> except a "test" DB. Why??? How can I get the login
> page and login to see and change the real database
> info.
>
>
>
> --- Alexander Dalloz <ad+lists at uni-x.org> wrote:
> > Am Do, den 10.03.2005 schrieb jim martin um 17:55:
> >
> > > I have installed myphpadmin and mysql in FC2.
> But
> > it
> > > seems keep connecting to wrong mysql socket.
> > mysql
> > > socket is located at /tmp/mysql.sock not
> > > /var/lib/mysql/mysql.sock as below
> >
> > /tmp/mysql.sock is not the default - why did you
> > change that?
> >
> > > When I go to the http://server/myphpadmin/ I saw
>
> > > MySQL said:
> > >
> > > #2002 - Can't connect to local MySQL server
> > through
> > > socket '/var/lib/mysql/mysql.sock' (2)
> > >
> > > I tried to configured the myphpadmin config file
> > > "config.inc.php" socket portion as below and
> > restart
> > > httpd but it still pointing to
> > > '/var/lib/mysql/mysql.sock' Any idea?
> > >
> > >
> > > $cfg['Servers'][$i]['socket'] =
> > > '/tmp/mysql.sock'; // Path to the
> socket
> > -
> > > leave blank for default socket
> > > $cfg['Servers'][$i]['connect_type'] = 'tcp';
>
> > //
> >
> > You say connect type "tcp" there, not "socket".
> >
> > Alexander
> >
> >
> > --
> > Alexander Dalloz | Enger, Germany | GPG
> > http://pgp.mit.edu 0xB366A773
> > legal statement: http://www.uni-x.org/legal.html
> > Fedora Core 2 GNU/Linux on Athlon with kernel
> > 2.6.10-1.770_FC2smp
> > Serendipity 18:07:29 up 22:19, 16 users, 0.03,
> 0.14,
> > 0.20
> > > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the fedora-list
mailing list