Re: [openupload-devel] Access to mysql db
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2010-01-22 10:35:57
|
I'm not sure I do understand the problem (either you use the socket or the port). It seems to me that the server is simply listening on a different port than default Mysql installation (3316 and not 3306) Simply specify it in the hostname like: localhost:3316 I'm not sure why you are using the socket and the port together, but anyway you can also use it by specifing it in the server name like :/tmp/mysql5.sock or localhost:/tmp/mysql5.sock which would result in either one of this alternatives in the config.inc.php $CONFIG['database']['host'] = 'localhost:3316'; or $CONFIG['database']['host'] = ':/tmp/mysql5.sock'; or $CONFIG['database']['host'] = 'localhost:/tmp/mysql5.sock'; the rest should be the same $CONFIG['database']['type'] = 'mysql'; $CONFIG['database']['user'] = '[MyUser]'; $CONFIG['database']['password'] = '[MyPWD]'; $CONFIG['database']['name'] = '[DBName]'; $CONFIG['database']['prefix'] = ''; Alessandro On Fri, 22 Jan 2010 09:23:45 +0100, Wal...@sc... wrote: > openupload-0.4.1 > > Our webspace is hosted by the german provider 1und1. > The access to the mysql database is not the default. So, we have problems > accessing it with your software. > > The command for a database dump is: > mysqldump -h localhost -u[MyUser] -p[MyPWD] -P 3316 -S/tmp/mysql5.sock > [DBName] > and it works fine. > > I would appreciate your help. > > Walter Laub > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |