I did look at trac.log. It just says the error message above.
I also said above that pymysql is installed. I checked with:
$ python3
Python 3.13.7 (main, Feb 3 2026, 16:47:05) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymysql
without error.
I tried the following:
trac-admin /srv/trac/lfs convert_db mysql://tracuser:password@localhost/trac_db
But got the following:
/usr/lib/python3.13/site-packages/trac/__init__.py:14: UserWarning: pkg_resources is
deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html.
The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from
using this package or pin to Setuptools<81.
from pkg_resources import DistributionNotFound, get_distribution
Error: Unable to check for upgrade of trac.db.api.DatabaseManager: TimeoutError:
Unable to get database connection within 10 seconds.
> See also:
https://trac.edgewall.org/wiki/SqLiteToMySql
I did but it did not help
By the way, this is a linuxfromscratch build. The above indicates to me that it is
looking for some commercial distribution like Debian or Fedora. I suspect I need some
more detailed advice.