Pymysql and the approach using sockets on EC2/RDS doesn't work. I've tested connections remotely using the Windows 1.99.4 version and the RDS DB can be connected correctly, but under the source version on EC2, it fails to connect. Every SQL client, both remote and local, can connect correctly except the app itself. I believe it's due to sockets being used (and not necessarily RDS). Does anyone have any ideas as to how this can be resolved without either stepping back the version of web2py or modifying the DAL itself (I'd rather not get locked into a non-upgradable installation)?

