Unable to connect to the specified MySQL server No such file or directory

Discussion in 'Installation/Configuration' started by DamianFick, Apr 16, 2012.

  1. DamianFick

    DamianFick New Member

    I dont understand why it is saying this, MySQL service is running and yet its not allowing me to continue with the ispconfig3 install.

    I reinstalled mysql to see if that would fix it but it did not... Any ideas?

    Running Centos 6.2
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a single or multiserver setup?
  3. DamianFick

    DamianFick New Member


    I found out the problem pretty stupid if you ask me... ISPConfig 3 DOES NOT install with a fully up to date version of MySQL 5.3.23 when i uninstalled all updated packages from sql and installed a older version ISPConfig went through with the install...

    However another problem has come up everything works fine but for some reason my php.ini located at /etc/php.ini keeps getting erased... This happens every time i reboot the computer or log off of the root account it does not make any sense. I noticed this because when i logged into ispconfig there were alerts and warnings everywhere when i turned them off.

    Also i am having an issue installing APC pecl says APC has been installed however it is not showing up in my wordpress website. XCache is horrible as it will not empty its cache when requested too, Not to mention practically doubles my sites load times.

    And finally the email works (thank god) but i cannot send out emails. I made an account i can login on outlook and receive mail but i cannot send mail. I tried sending a test message to my hotmail account with no luck.
    When i setup hMailserver on windows i had to set the outgoing imap to smtp.comcast.net to be able to send mail out where would i set that in ispconfig?
    Last edited: Apr 17, 2012
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig installs fine here on MySQL 5.3.23, so there must have been another issue on your server which got fixed by reinstalling the other mysql version.

    APC is known to cause problems on Centos. We use xcache on all our production systems and had run benchmarks for it, its on par with apc performance wise but much more stable.

    System > Server config > Mail
    Last edited: Apr 17, 2012
  5. DamianFick

    DamianFick New Member

    Being on par with APC or not XCache does not work well on my server. So how do i install APC correctly?

    I am using W3 Total Cache for my wordpress site and it works best with APC.

    Also the Relayhost is where i put the smtp.comcast.net right? Do i need a username and password? If so how would i get those?
    EDIT: Mail has been received in my hotmail, thanks :D
    EDIT: SMTP Mail (Logged in account mail) works fine but it seems website mailing does not work, any suggestions on this?
    Last edited: Apr 18, 2012
  6. muekno

    muekno Member HowtoForge Supporter

    Similar problem multiserver

    I habe a running and functioning multiserver setup Would add an existing mysql server. open suse 12.3 like the others latest patches.
    can login to mysql command line with -u root -p and my password
    Mysql shows
    mysql> select host,user from user;
    | host | user |
    | % | mailserver |
    | % | web |
    | | root |
    | localhost | root |
    4 rows in set (0.00 sec)

    mysql server an client are installed.

    ispconfig installation says
    "Unable to connect to the specified MySQL server No such file or directory"

    Thanks for help
  7. muekno

    muekno Member HowtoForge Supporter


    db server istself run well too, working as db for some typo3 installations

Share This Page