Also I installed Webmin (like CPanel) in order to manage services like samba sharing folders and another stuff
And installed mySQL Workbench, in order to manage Schemas and databases.
So the idea to achieve is this, Access to that mySQL Server in every machine of the local network.
All this Time I worked with mySQL running on my personal computer and I access by this way:
I tried to change localhost to 192.168.0.63 in order to access to my server, and it not connects.
By design no login from remote is allowed, so you first need to create a new user or to setup your mysqlserver properly. Without any claim to completeness here’s a step-by-step list you should check:
If you have webmin than you login on your server (i think default port is 10000 for webmin) should first check your webmin interface if mysql daemon/ server is up and running.
you should check your credentials, in most cases mysql root is different than your host root
create a new database
create a new dbuser within mysql and give this user priviledge to login from remote hosts
I think it’s
bind-address=127.0.0.1
and that you should comment out with “#”
bind-address allows connection only from localhost by default.
And make user with:
GRANT ALL PRIVILEGES ON yourdb.* TO ‘youruser’@‘192.168.0.%’;
so it allows connection from your local network to yourdb database with youruser…
[quote=319689:@Jukka Leino]I think it’s
bind-address=127.0.0.1
and that you should comment out with “#”
bind-address allows connection only from localhost by default.
And make user with:
GRANT ALL PRIVILEGES ON yourdb.* TO ‘youruser’@‘192.168.0.%’;
so it allows connection from your local network to yourdb database with youruser…[/quote]
I do that.
I made a new user, different that root assign the privileges
But Still without success even playing with bind-address and skip networking hashing it.
Without success, I was about to give up, at then Playing with WEBADMIN I found this:
MySQL Database Server menu -> MySQL Server Configuration ->MySQL Listening Address And check this option instead of “Any”
And I got how its option are activated, As Jukka said Only need to assign permissions to certain IP, but don’t mess with “#skip-networking”
I’ve read in other forums that this option are only for Localhost access, not remote.
So then Run my Xojo and says Ok, I can access to my database!!!