Koozali.org: home of the SME Server

From Windows XP connect to SME Mysql database

cosy

From Windows XP connect to SME Mysql database
« on: May 30, 2004, 11:38:46 AM »
Hi All,

   Wanna connect to mysql database from my laptop runing windows xp i try following on SME server logon as a root but no luck

GRANT ALL PRIVILEGES ON osCommerce.*
            TO osCommerce@'192.168.96.%' IDENTIFIED BY
            "CommerceAdmin" WITH GRANT OPTION;
Query OK, 0 rows affected (0.12 sec)

Error when creating DSN

[MySQL][ODBC 3.51 Driver]can't connect to MySql server on '192.168.96.11'(10061)

please help

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
From Windows XP connect to SME Mysql database
« Reply #1 on: May 30, 2004, 11:51:34 AM »
Hi,

You have to enable mysql to be accessed by local network:
Code: [Select]

/sbin/e-smith/db configuration setprop mysqld LocalNetworkingOnly no
/sbin/e-smith/expand-template /etc/my.cnf
/sbin/service mysqld restart

These command should solve the problem.

Regards.

Anonymous

From Windows XP connect to SME Mysql database
« Reply #2 on: May 30, 2004, 02:00:59 PM »
:hammer: Thank you so much  :pint:

cosy

cydonia

From Windows XP connect to SME Mysql database
« Reply #3 on: November 26, 2004, 07:08:41 PM »
Quote from: "MasterSleepy"
Hi,

You have to enable mysql to be accessed by local network:
Code: [Select]

/sbin/e-smith/db configuration setprop mysqld LocalNetworkingOnly no
/sbin/e-smith/expand-template /etc/my.cnf
/sbin/service mysqld restart

These command should solve the problem.

Regards.



Thanks:) this just helped me out...