Hi,
thanks for your response.
we changed the database path connection to mysql database in drupal as following
database_connection=mysql://tiger:goDB@localhost/mydatabase?unix_socket=/opt/drupal-6.16-0/mysql/tmp/mysql.sock
it starts to run, but when we take a look at it through the web browser(127.0.0.1:8080), the right column (history panel) of galaxy is not work normally, showing error traceback. is it still connection problem, or database broplem?
thanks in advance for your more help.
Subject: Re: [galaxy-dev] help: can't connect to external mysql atabase
From:
greg@bx.psu.eduDate: Thu, 10 Jun 2010 18:36:26 -0400
CC:
galaxy-dev@lists.bx.psu.eduTo:
wqzhang71@hotmail.comHello,
The problem is that the connection string is a URL, it shouldn't have the path to the mysql binary in it (should just be "
mysql://tiger:goDB@localhost/mydatabase") Also, Galaxy and drupal are different and unrelated pieces of software, and Galaxy should have its own dedicated database. Galaxy should work with mysql, but we highly recommend postgres.
On Jun 9, 2010, at 6:55 PM, wenqing zhang wrote:
Hi;
the mysql databse is installed inside drupal in local server.
the mysql path location is /opt/drupal-6.16-0/mysql/bin/mysql.
when I tried to connect Galaxy to mysql database by modifying database_connection in file universe_wsgi.ini as following
database_connection = /opt/drupal-6.16-0/mysql/bin/mysql://tiger:godatabase@localhost/mydatabase
I fialed to do it. and ArgumentError: could not parse rfc1738URL from string '/opt/drupal-6.16-0/mysql/bin/mysql://tiger:godatabase@localhost/mydatabase'
someone can help me?
thanks.
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
Get started. _______________________________________________
galaxy-dev mailing list
galaxy-dev@lists.bx.psu.eduhttp://lists.bx.psu.edu/listinfo/galaxy-dev
Greg Von Kuster
Galaxy Development Team
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
Learn more.