DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'baruwa' # Or path to database file if using sqlite3. DATABASE_USER = 'baruwa' # Not used with sqlite3. DATABASE_PASSWORD = 'xxxxxxxx' # Not used with sqlite3. DATABASE_HOST = '10.55.76.240' # Set to empty string for localhost. Not used with sqlite3. DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
They look correct to me? ________________________________________ From: [email protected] [[email protected]] on behalf of Andrew Colin Kissa [[email protected]] Sent: Monday, 20 December 2010 6:06 p.m. To: Baruwa users list Subject: Re: [Baruwa] New install - Debian Squeeze On 20 Dec 2010, at 5:25 AM, Brent Addis wrote: > I am confused as to why it has "Can't connect to local MySQL server through > socket '/var/run/mysqld/mysqld.sock' (2)") when I haven't specified localhost > anywhere? Can you check /usr/share/pyshared/baruwa/settings.py to see if the setting are correct, i am assuming it could be a bug in the mysqldb module which may be triggered because the port has not been specified so it defaults to /var/run/mysqld/mysqld.sock even if the host has been set to non localhost -- Baruwa - www.baruwa.org _______________________________________________ Baruwa mailing list [email protected] http://lists.baruwa.org/mailman/listinfo/baruwa _______________________________________________ Baruwa mailing list [email protected] http://lists.baruwa.org/mailman/listinfo/baruwa

