Login   Register  
PHP Classes
elePHPant
Icontem

Connection problem

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PADL (PHP Application Distribution License System)  >  All threads  >  Connection problem  >  (Un) Subscribe thread alerts  
Subject:Connection problem
Summary:Can't connect to local MySQL server through socket
Messages:1
Author:Piotr Ejsmont
Date:2009-11-20 12:42:11
 

  1. Connection problem   Reply   Report abuse  
Picture of Piotr Ejsmont
Piotr Ejsmont
2009-11-20 12:42:11
First, thanks for this class. I am looked for somthing like this, with no fee a long time.
I tested this on localhost serwer on my windows OS and this works good.
But, when I am trying to communicate with server on my site I have warnings like this:

The mysql error was as follows :
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I think abaut config file, but when I made database from sql file there was no problem. Connection was good. Only when I tried register license from localhost on my server in internet there was a problem

Maybe, there is a problem with my server on internet?
What's wrong.

How to use function:

$architect->register_install('localhost', 0, $span, $data, 'itmanager.fkr.pl', 'http://itmanager.fkr.pl/license/server/example.register.php');

This is my request for a license.

Help me please and thanks.
Piotr