Changes between Version 15 and Version 16 of UoL LAMP HowTo Install Python Flask Applications


Ignore:
Timestamp:
10/11/18 08:25:04 (6 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UoL LAMP HowTo Install Python Flask Applications

    v15 v16  
    7272}}}
    7373
     74=== Database
     75
     761. One thing to note is that python looks for the mysql socket in the wrong place, so you have to specify where to find it in the connection string.  Here is an example connection string:
     77
     78{{{
     79mysql://{username}:{password}@127.0.0.1/{database}?unix_socket=/db/mysql/mysql.sock
     80}}}
     81
    7482[[BackLinks]]