Connecting to MySQL Database over server

前端 未结 4 1831
北恋
北恋 2021-01-02 16:57

I\'m quite a beginner when it comes to working with networks and the like, so apologizes up front. A while back I set up a mySQL database locally on my machine, and have bu

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-02 17:24

    For example, is it just an IP I need?

    Yes. You'll be much happier if you set up proper domain names, but a domain name is just an alias for the IP address.

    Do I have to change the setup of my database?

    No, but... You have to add some user credentials to support remote logins. That's a change, but not a change to a schema. It's changes to the permissions.

    I understand that localhost would not work from my colleagues computer's, for obvious reasons, I have no idea what would go in its place for others to access it.

    What MySQL Admin tools are you using? Often there is good help there.

    You must read reference manual 4.1 or 5.0

    For whatever version is appropriate.

    It's very clear.

    A user is identified by a username@hostname. You can specify IP addresses (or even "%" for the hostname.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题