postinstall script fails on mysql error
Bug #267372 reported by
in_vain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dtc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dtc
after running: sudo ./install from the /usr/share/
-> Installing or upgrading DTC database: dtc
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (usring password: YES)
Where does the install script get the mysql-username and pass from ?
can i edit them ?
Changed in dtc: | |
status: | New → Fix Committed |
Changed in dtc (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
in_vain wrote: dtc/admin/ install
> Public bug reported:
>
> Binary package hint: dtc
>
> after running: sudo ./install from the /usr/share/
> directory the install fails with the following error message
>
> -> Installing or upgrading DTC database: dtc
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (usring password: YES)
>
>
> Where does the install script get the mysql-username and pass from ?
> can i edit them ?
It gets it from what you have entered in debconf, if you are talking debian. cnf to create a valid user with access rights
about this old version that is currently in Ubuntu. I guess that you
didn't enter things correctly. The newer versions are taking things from
/etc/mysql/
automatically.
By the way, the current version of DTC in Ubuntu is just a very bad and
old one, and I have never approved it's inclusion in the current Ubuntu
release. Please upgrade to the latest stable version from GPLHost's
Debian repository, it's in better shape. I have NEVER approved the
current version in Ubuntu, and I do not intend to support it either.
Ok, now how do I close the bug that you have just opened?
Thomas