Solved

MYSQL: How to read the queries PHYSICALLY and REMOTELY

Posted on 2012-12-30
1
349 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

630 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