title: FreeRadius / Daloradius: Database connection error & extension not found
body: <p>I installed FreeRadius and the Webinterface Daloradius.
  Unfortunately I'm not able to log in to <a href="http://radiusip/daloradius" rel="nofollow noreferrer">http://radiusip/daloradius</a>.</p>
  
  <p>I always receive the error message:</p>
  
  <p>Database connection error
  Error Message: DB Error: extension not found</p>
  
  <p>The Log always writes this, when I quit the Debugging (FreeRadius -X):</p>
  
  <pre><code>tail -f /var/log/mysql/error.log:
  
  2016-08-26T10:33:54.070388Z 444 [Note] Aborted connection 444 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.070498Z 443 [Note] Aborted connection 443 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.070613Z 442 [Note] Aborted connection 442 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.070677Z 441 [Note] Aborted connection 441 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.070788Z 440 [Note] Aborted connection 440 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.070979Z 439 [Note] Aborted connection 439 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.071049Z 438 [Note] Aborted connection 438 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.071159Z 437 [Note] Aborted connection 437 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.071274Z 436 [Note] Aborted connection 436 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  2016-08-26T10:33:54.071306Z 455 [Note] Aborted connection 455 to db: 'radius' user: 'freeradius' host: 'localhost' (Got an error reading communication packets)
  </code></pre>
  
  <p>The Password is 100 % Correct in all necessary Config-Files, I deactived the Firewall. I think it has to do with not properly closing connections and/or wrong permissions.</p>
  
  <p>The Permissions from The MySql-User are:</p>
  
  <pre><code>mysql&gt; show grants;
  +----------------------------------------------------------------+
  | Grants for freeradius@localhost                                |
  +----------------------------------------------------------------+
  | GRANT USAGE ON *.* TO 'freeradius'@'localhost'                 |
  | GRANT ALL PRIVILEGES ON `radius`.* TO 'freeradius'@'localhost' |
  +----------------------------------------------------------------+
  2 rows in set (0.00 sec)
  </code></pre>
  
  <p>Any Ideas?</p>
  
  <p>It is Ubuntu 16.04, Daloradius 0909 and FreeRadius V3</p>