Solved

MYSQL: How to read the queries PHYSICALLY and REMOTELY

Posted on 2012-12-30
1
343 Views
Last Modified: 2013-01-03
Hi,

I am interested in MYSQL. I just completed the installation of MYSQL.

Note:
-It is a the simulation of Enterprise Network
- I installed the MYSQL (at the Windows XP which are located at LAN 1 ¿ 10.10.10.0/24; I assigned the IP address of this XP is 10.10.10.50)
- The setup of MYSQL (at Win XP) is Server type (Not Custom or Client type)
-I have a Win 7 at LAN 2 (10.10.5.0/24)
- Both machines are in a Domain called "Boba.com"

The Goal:
-First: I want to READ the queries PHYSICALLY from Windows XP itself
- Second: I want to READ the queries REMOTELY from Windows 7 (from LAN 2)

Somebody would tell me how to do the above 2 goals? Would you provide a little bit of details please. The Helps that I need:
- How to create the Users? (Is it a domain user? or local user?)
-At XP, I should use the Domain User or Local User?
- Please provide the PATH how to CREATE and READ the QUERIES

Thank you

tjie
0
Comment
Question by:tjie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
F Igor earned 500 total points
ID: 38731616
First of all, having your MySQL server running at 10.10.10.50, each computer (including the server itself ) can connect and query to that server in the same way (All databases and data are stored in a single server, but accessible from every computer that connects)

You need to ensure that Mysql Server can be reached from another computer if:
* In the mysql configuration (my.cnf file ) the following line is commented (with ";") or removed (otherwise, you can only connect from the server itself)

;bind-address=127.0.0.1

*The firewall configuration of that server allows to connect at TCP port 3306 (In windows XP, when you install and run the server a confirmation dialog should appear to confirm)

*For managing users, you can use the mysql administration utility that comes with the server (in folder %MYSQL_INSTALLATION_DIR%/bin/)

*Then , you need a Mysql FrontEnd / GUI to manage users and queries easily (instead of using the mysql console to do that) For example, Mysql Workbench

http://dev.mysql.com/downloads/workbench/

And use this tool from another computer to connect using the root user:

host: 10.10.10.50
user: root
pass: when you install mysql it asks for it. Use that password.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
getting error Subquery returned more  than 1 value 6 24
SQL 2012 AOG and SQL2014 AOG 76 61
sql server cross db update 2 20
access to sql migration 5 24
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question