Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am very frustrated that I am trying this from over 5 days. I need to create database on my PC that has to be visible for all other PCs in the same LAN.

I tried with XAMPP - Apache + MySQL - no result even after reading all articles from first 2 pages of Google and watching many youtube clips. Now I am trying with MySQL Server 8.0 on my PC. I tried again all of Google first pages stuff without result. How can I do that?

I know that this has been asked many times here but there is no complex solution at all.

Does anybody of you have tutorial that is tested nowadays and it is working?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
160 views
Welcome To Ask or Share your Answers For Others

1 Answer

you should provide more details like the error message you get when connecting to the remote mysql server, anyway, to allow remote access, here is a checklist you need to go through:

  1. grant permission, mysql by default only allow access from localhost(127.0.0.1), to allow other ip access: // replace root for the username, '123456' for the password grant all privileges on . to 'root'@'%' identified by '123456';

    flush privileges;

  2. check your server firewall settings to allow your mysql through port 3306(default)

  3. others: for linux server I think you also need to comment out "bind address" in your mysql config file; some other issues for example your mysql client autodetect the wrong timezone, you may need to manually set it; check your inbound rule on your client pc; etc.

my suggestion for you, don't just google around blindly, think about it logically first, sometimes there is no direct answer


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...