[Lazarus] TMysql57Connection won't connect to localhost

2018-05-28 Thread Larry Dalton via Lazarus
I am running lazarus 1.8.2 on linux mnt 17.2.
I am trying to access a mysql database that was installed with Bitnami.

   - Server: Localhost via UNIX socket
   - Server type: MySQL
   - Server connection: SSL is not being used [image: Documentation]
   
   - Server version: 5.7.22 - MySQL Community Server (GPL)
   - Server: Server: localhost:3307
   
   - Protocol version: 10
   - User: root@localhost
   - Server charset: UTF-8 Unicode (utf8)


   - Apache
   - Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 -
   $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
   - PHP extension: mysqli[image: Documentation]
   

curl[image: Documentation]
   

mbstring[image: Documentation]
   

   - PHP version: 7.1.17


   - Phpmyadmin Version information: 4.8.0.1, latest stable version: 4.8.1
   
   - Web Address http://127.0.0.1:8080/phpmyadmin/


   I am using localhost as hostname on Tmysql57Connection.

   I cannot connect the Tmysql57Connection to localhost.
Help?
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TMysql57Connection won't connect to localhost

2018-05-28 Thread Michael Van Canneyt via Lazarus


What is the error you are getting ?

If you want to connect through unix socket, you should leave hostname empty.
If you set it to localhost, TCP/IP will be used.

Michael.

On Mon, 28 May 2018, Larry Dalton via Lazarus wrote:


I am running lazarus 1.8.2 on linux mnt 17.2.
I am trying to access a mysql database that was installed with Bitnami.

  - Server: Localhost via UNIX socket
  - Server type: MySQL
  - Server connection: SSL is not being used [image: Documentation]
  
  - Server version: 5.7.22 - MySQL Community Server (GPL)
  - Server: Server: localhost:3307
  
  - Protocol version: 10
  - User: root@localhost
  - Server charset: UTF-8 Unicode (utf8)


  - Apache
  - Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 -
  $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
  - PHP extension: mysqli[image: Documentation]
  

   curl[image: Documentation]
  

   mbstring[image: Documentation]
  

  - PHP version: 7.1.17


  - Phpmyadmin Version information: 4.8.0.1, latest stable version: 4.8.1
  
  - Web Address http://127.0.0.1:8080/phpmyadmin/


  I am using localhost as hostname on Tmysql57Connection.

  I cannot connect the Tmysql57Connection to localhost.
Help?


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus