尝试创建jdbc表时出现异常

时间:2018-01-16 01:38:33

标签: amazon-rds-aurora akka-persistence lagom

连接到Amazon RDS MySQL Aurora时,lagom服务在尝试创建jdbc表时会抛出异常

(virtual) $ pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
beautifulsoup4 (4.6.0)
bs4 (0.0.1)
certifi (2017.11.5)
cffi (1.9.1)
chardet (3.0.4)
colored (1.3.4)
cryptography (1.6)
et-xmlfile (1.0.1)
idna (2.6)
jdcal (1.3)
numpy (1.13.1)
openpyxl (2.4.8)
pandas (0.20.3)
paramiko (2.0.2)
pip (9.0.1)
progressbar2 (3.34.2)
psycopg2 (2.6.2)
pyasn1 (0.1.9)
pycparser (2.17)
python-dateutil (2.6.1)
python-utils (2.2.0)
pytz (2017.2)
readline (6.2.4.1)
requests (2.18.4)
setuptools (28.8.0)
six (1.10.0)
terminaltables (3.1.0)
urllib3 (1.22)
wheel (0.29.0)
xlrd (1.1.0)
(virtual) $

(virtual) $ python --version
Python 3.5.2

我还没能找到这是否是我所遗漏的配置元素的已知问题。

1 个答案:

答案 0 :(得分:1)

确保您已按照Relational Database Persistent Entities上的Lagom文档中的说明为数据库选择了正确的Slick驱动程序:

jdbc-defaults.slick.driver = "slick.driver.MySQLDriver$"