473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

connecting from other computer

Hi

I'm using mysql-server 4.0.13-3 on Debian.
I wish to be able to connect to that server using a mysql frontend from my
other computer, which is a Win32 box. However, when I try "telnet
192.168.1.40 3306" on the win32 box, or "telnet localhost 3306" on the host
box, I get connection refused.

Can someone give me, or point me to a step-by-step explaination on how this
is achieved?

Thanks
Bart
Jul 19 '05 #1
4 3604
On the Debian, go to admin >mysql dbname
Enter "Grant" command specifying the Win32 box. Eg.

mysql> grant read on *.* to winuser@winipaddress identified by winpw

where
winuser is just a username
winipaddress is the IP Address of the windows machine
winpw is some password.
then on the Win32 box connect using that username and password eg.
say the user is remuser and password=pwpwpw and the Debian box is ip=1.2.3.4
and the database name is somedata.
then on windows

mysql -u remuser -p pwpwpw so******@1.2.3.4

If using ODBC on the windows box, still use that ip, dbname, dbuser and
dppassword

Careful on the Grant command, to specify enough to restrict access.

For example "Grant all on *.* to fred identified by fredpw opens up connects
to (All IPs everywhere)

dp

I'm using mysql-server 4.0.13-3 on Debian.
I wish to be able to connect to that server using a mysql frontend from my
other computer, which is a Win32 box. However, when I try "telnet
192.168.1.40 3306" on the win32 box, or "telnet localhost 3306" on the host box, I get connection refused.


Jul 19 '05 #2
On the Debian, go to admin >mysql dbname
Enter "Grant" command specifying the Win32 box. Eg.

mysql> grant read on *.* to winuser@winipaddress identified by winpw

where
winuser is just a username
winipaddress is the IP Address of the windows machine
winpw is some password.
then on the Win32 box connect using that username and password eg.
say the user is remuser and password=pwpwpw and the Debian box is ip=1.2.3.4
and the database name is somedata.
then on windows

mysql -u remuser -p pwpwpw so******@1.2.3.4

If using ODBC on the windows box, still use that ip, dbname, dbuser and
dppassword

Careful on the Grant command, to specify enough to restrict access.

For example "Grant all on *.* to fred identified by fredpw opens up connects
to (All IPs everywhere)

dp

I'm using mysql-server 4.0.13-3 on Debian.
I wish to be able to connect to that server using a mysql frontend from my
other computer, which is a Win32 box. However, when I try "telnet
192.168.1.40 3306" on the win32 box, or "telnet localhost 3306" on the host box, I get connection refused.


Jul 19 '05 #3
"D. Pickering" <dc*****@hps.com> wrote in message
news:xM*********************@newssvr30.news.prodig y.com...
On the Debian, go to admin >mysql dbname
Enter "Grant" command specifying the Win32 box. Eg.

mysql> grant read on *.* to winuser@winipaddress identified by winpw

where
winuser is just a username
winipaddress is the IP Address of the windows machine
winpw is some password.
then on the Win32 box connect using that username and password eg.
say the user is remuser and password=pwpwpw and the Debian box is ip=1.2.3.4 and the database name is somedata.
then on windows

mysql -u remuser -p pwpwpw so******@1.2.3.4

If using ODBC on the windows box, still use that ip, dbname, dbuser and
dppassword

Careful on the Grant command, to specify enough to restrict access.

For example "Grant all on *.* to fred identified by fredpw opens up connects to (All IPs everywhere)

dp

I'm using mysql-server 4.0.13-3 on Debian.
I wish to be able to connect to that server using a mysql frontend from my other computer, which is a Win32 box. However, when I try "telnet
192.168.1.40 3306" on the win32 box, or "telnet localhost 3306" on the

host
box, I get connection refused.

Thanks!
works fine now :)

Bart
Jul 19 '05 #4
"D. Pickering" <dc*****@hps.com> wrote in message
news:xM*********************@newssvr30.news.prodig y.com...
On the Debian, go to admin >mysql dbname
Enter "Grant" command specifying the Win32 box. Eg.

mysql> grant read on *.* to winuser@winipaddress identified by winpw

where
winuser is just a username
winipaddress is the IP Address of the windows machine
winpw is some password.
then on the Win32 box connect using that username and password eg.
say the user is remuser and password=pwpwpw and the Debian box is ip=1.2.3.4 and the database name is somedata.
then on windows

mysql -u remuser -p pwpwpw so******@1.2.3.4

If using ODBC on the windows box, still use that ip, dbname, dbuser and
dppassword

Careful on the Grant command, to specify enough to restrict access.

For example "Grant all on *.* to fred identified by fredpw opens up connects to (All IPs everywhere)

dp

I'm using mysql-server 4.0.13-3 on Debian.
I wish to be able to connect to that server using a mysql frontend from my other computer, which is a Win32 box. However, when I try "telnet
192.168.1.40 3306" on the win32 box, or "telnet localhost 3306" on the

host
box, I get connection refused.

Thanks!
works fine now :)

Bart
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John Morgan | last post by:
I have Enterprise Manager on my local machine. For the last twelve months it has been connecting without problem to my online SQL Server database provided by my ISP. Three weeks ago the ISP...
3
by: nzanella | last post by:
Hello, I have MS SQL Server running on a server computer. I am trying to connect to it via ASP from a .asp file created in a virtual directory. I am using IIS as the web server. I am connecting...
5
by: Jim | last post by:
Hi Folks, We have a DB2 database on a WAN at work. I want to access the database from some Visual Basic for Applications code that I have written at work. The database itself is not directly...
1
by: Dishaa V | last post by:
Hello I need to connect to an access db which is on the internet. I do know that URL of the same. its http://www.vallury.com/balance/bank.mdb. Its just a test db. How can I connect to that db...
2
by: Rashrashetta | last post by:
Hai all, I am a computre science student.I am actually required to build a system with the following description: an intructor wants to use an excel sheet to put his/her students marks...
4
by: Logan | last post by:
I am interested in programmatically connecting my computer to my cell phone's bluetooth Hands-Free Profile (HFP). So can can use my computer to answer and make calls as well as route the audio...
1
by: Phillip Vong | last post by:
I'm using VS 2005 connecting to a SQL 2000 DB on another server. The SQL is also running IIS 6 with ASP.NET 2.0 When I test the aspx on my computer, it has no problem getting the information...
1
by: =?Utf-8?B?ZGlnZ2l0eXBvbw==?= | last post by:
How do you connect two computers if one doesn't boot up correctly? I have one computer that has an issue with System Registry Hive being too large, and I think there is something else wrong with...
2
by: SayamiSuchi | last post by:
-------------------------------------------------------------------------------- Hi, I have made one web application using Asp dot net 2005 and sql server 2005.The sql server i am connecting is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.