How to work with SQL server

Mange,Leo Phodiso 0 Reputation points
2024-03-19T12:36:49.97+00:00

If I downloaded and installed MySQL server into my personal computer, how do I access or use it from a different computer and is it possible or not.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,774 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Richard 6 Reputation points
    2024-03-19T15:07:53.31+00:00

    Yes you can for pretty much any database server. For Microsoft SQL Server, you'd want to download and run SQL Management Studio https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16, and for MySql, download and run MySql Workbench https://www.mysql.com/products/workbench/ Using the tooling on the same machine as the database service, should be fine. To access the database from a different computer you'd also need to ensure that they are networked and firewall on the database server allows inbound connections on specific ports, see https://learn.microsoft.com/en-us/sql/sql-server/install/configure-the-windows-firewall-to-allow-sql-server-access?view=sql-server-ver16#SnippetTab and for MySql https://dev.mysql.com/blog-archive/mysql-guide-to-ports/

    0 comments No comments

  2. ZoeHui-MSFT 36,511 Reputation points
    2024-03-20T06:51:08.0066667+00:00

    Hi @Mange,Leo Phodiso,

    Please check if you are using Microsoft SQL Server or MySQL.

    MySQL is a widely used relational database management system (RDBMS).

    If you are using SQL Server, you may follow the tutorial to use it.

    Tutorial: Getting Started with the Database Engine

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. RahulRandive 9,666 Reputation points
    2024-04-15T13:21:51.19+00:00

    Hi @Mange,Leo Phodiso

    If you are questioning about SQL Server. Yes, it is possible to access SQL Server installed on your personal computer from a different computer. To do so, you need to configure your SQL Server to accept remote connections and create at least one SQL Server authentication login. Here are the steps to follow:

    1. Configure your SQL Server to accept remote connections.
    2. Launch SQL Server Configuration Manager. Expand SQL Server Network Configuration for the instance you want, and select Protocols for MSSQLSERVER. You should see protocols in the right-pane. Enable TCP/IP by right-clicking TCP/IP and clicking Enable.
    3. Create at least one SQL Server authentication login. To connect to the Database Engine from another computer, you must create at least one SQL Server authentication login. In SQL Server Management Studio Object Explorer, expand the folder of the server instance in which you want to create the new login. Right-click the Security folder, point to New, and select Login. In the Login - New dialog box, on the General page, enter the name of the new user in the Login name box. Select SQL Server authentication. In the Password box, enter a password for the new user. Enter that password again into the Confirm Password box. From the Default database list, select a default database for the login. master is the default for this option. If you have not yet created a user database, leave this set to master.

    Once you have completed these steps, you should be able to access your SQL Server from a different computer by using SQL Server Management Studio and the SQL Server authentication login you created.

    Thank You!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.