Alex Trust
May 19 2005, 03:58 PM
I'm trying to make a connection with a remote sql database from prompt... I have some tools who can make a connection but only to your localhost. Would it be possible to make a connection to a remote one.
Or attleast send a qeury remote.
DiGiTaL
May 19 2005, 04:09 PM
QUOTE(Alex Trust @ May 19 2005, 03:58 PM)
I'm trying to make a connection with a remote sql database from prompt... I have some tools who can make a connection but only to your localhost. Would it be possible to make a connection to a remote one.
Or attleast send a qeury remote.
try myslqfront
http://www.mysqlfront.de/download.html
Alex Trust
May 19 2005, 05:28 PM
i tried the program but couldn't figure out how you can do that from prompt doing it from explorer is a cewl feature but down side is that the gui is still needed
whiskah
May 19 2005, 07:14 PM
OSQL
u can find a lot of info on the board/google
/edit
btw..I was referring to MS-SQL
marder
May 19 2005, 07:40 PM
you'd forgottten to tell us what kind of SQL you are try'n to connect to ..
mssql? mysql ? oracle? ??
but however each one has its own "commandlined" application
Alex Trust
May 20 2005, 04:48 AM
it doesn't matter which one i will use anyone

i know about bthe command line interfaces but the ones i try didn't have a option to connect to a server remote.
thnx whiskah will try it
thnx for ur help guys
splX
May 20 2005, 01:14 PM
Steal osql.exe from any MSSQL Version and you have a Client to connect to hosts and can run querys!
skiddieleet
May 20 2005, 10:22 PM
Mysql has their own client at their site. There is a -h option for the host to connect to. Often the problem is not with the client, but many databases only allow local connections.
ldm
May 22 2005, 05:42 PM
for MSSQL:
QUOTE
osql -S ip -U user -P password
(for help: osql -?)
for MySQL:
QUOTE
mysql -h ip -u user -p
(for help: mysql -?)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.