[prev in list] [next in list] [prev in thread] [next in thread]
List: proftpd-users
Subject: [Proftpd-user] Fwd: MySQL Authorization
From: "Adam Barrett" <dragen+proftpd () gmail ! com>
Date: 2008-03-12 16:47:11
Message-ID: 6902ba8e0803120947j4f117264kee077beb0f2d0eb5 () mail ! gmail ! com
[Download RAW message or body]
Awesome!
Thanks!
Now I know it is having problems connecting to MySQL... guess I ought
to hunt that down now.
Any suggestions?
Here is the error:
Mar 12 10:44:10 mod_sql/4.2.1[31968]: defaulting to 'mysql' backend
Mar 12 10:44:10 mod_sql/4.2.1[31968]: backend module 'mod_sql_mysql/4.05'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: backend api 'mod_sql_api_v2'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: >>> sql_sess_init
Mar 12 10:44:10 mod_sql/4.2.1[31968]: entering mysql cmd_defineconnection
Mar 12 10:44:10 mod_sql/4.2.1[31968]: name: 'default'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: user: 'proftp'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: host: 'localhost'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: db: 'proftp'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: port: '3306'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: ttl: '0'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: exiting mysql cmd_defineconnection
Mar 12 10:44:10 mod_sql/4.2.1[31968]: entering mysql cmd_open
Mar 12 10:44:10 mod_sql/4.2.1[31968]: exiting mysql cmd_open
Mar 12 10:44:10 mod_sql/4.2.1[31968]: unrecoverable backend error
Mar 12 10:44:10 mod_sql/4.2.1[31968]: error: '2002'
Mar 12 10:44:10 mod_sql/4.2.1[31968]: message: 'Can't connect to local
MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Do you know how to configure MySQL for local connections?
On Wed, Mar 12, 2008 at 1:28 PM, TJ Saunders <tj@castaglia.org> wrote:
>
> > When I attempt to connect to the server for this domain I get
the following:
> >
> > # ftp www.domain.com 1050
> > Connected to domain.com.
> > 421 Service not available, remote server has closed connection
> > ftp>
>
> Could you see what an SQLLogFile shows?
>
> http://www.proftpd.org/docs/contrib/mod_sql.html#SQLLogFile
>
> TJ
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> To spend too much time in studies is sloth.
>
> -Francis Bacon
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> ProFTPD Users List <proftpd-users@proftpd.org>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html
>
--
Adam Barrett
dragen@gmail.com
--
Adam Barrett
dragen@gmail.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ProFTPD Users List <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic