[Buildbot-commits] [Buildbot] #2316: option --db not recognized, when trying to upgrade MySQL database
Buildbot
nobody at buildbot.net
Tue Jun 12 13:43:22 UTC 2012
#2316: option --db not recognized, when trying to upgrade MySQL database
--------------------+-----------------------------
Reporter: edsouza | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.6p1 | Keywords: MySQL, database
--------------------+-----------------------------
If the[[BR]]
c\['db_url'\] = "sqlite:///state.sqlite"
entry in master.cfg is changed to use a local MySQL database like so:
c\['db_url'\] = "mysql://root:@localhost/buildbot?max_idle=300"[[BR]]
The twistd.log prints the following instructions:[[BR]]
If you are[[BR]]
2012-06-12 09:28:47-0400 [-] using MySQL, you must specify the connector
string on the upgrade-master[[BR]]
2012-06-12 09:28:47-0400 [-] command line:[[BR]]
2012-06-12 09:28:47-0400 [-] [[BR]]
2012-06-12 09:28:47-0400 [-] buildbot upgrade-master --db=<db-url>
path/to/master[[BR]]
[[BR]]
However, the --db option does not appear to be supported:[[BR]]
[[BR]]
bash-4.1$ buildbot upgrade-master
--db=mysql://root:@localhost/buildbot?max_idle=300 .[[BR]]
/usr/local/bin/buildbot: option --db not recognized[[BR]]
--
Ticket URL: <http://trac.buildbot.net/ticket/2316>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list