Friday, 2009-09-11

*** rati has joined #ingres00:08
ratiHi All00:08
ratiI am new to ingres, I had installed ingres on my Windows machine00:09
ratiIs there any query browser for ingres?00:09
*** Alex|off is now known as Alex|00:11
ratiii_log,help00:24
pbororati, query browser?00:25
ratipboro, like Mysql have query browser? I can connect any remote MySQL server and access that database and do all things on remote database00:26
pbororati, there's a DTP plugin for Eclipse, it provides alike features00:27
ratipboro, How to connect remote ingres database? what should I need to install on my (client) machine00:27
pboroFrom where are you connecting? Ingres supports for example JDBC and .NET ds00:28
pboroyou can also install Ingres client installation on another computer to remotely access the database with Ingres tools (isql, sql, qbf, etc.)00:29
ratipboro, I have a machine on my LAN and it has ingres installed, I would like to access that00:29
ratipboro, so I need to install client. do I need to configure any thing on remote Server machine to give access?00:30
pboroyes you do, you need to define vnode for the server00:30
pboroyou should check Ingres Connectivity Guide :)00:30
pboroyou can read it at http://docs.ingres.com00:31
pborothere's instructions how to install Ingres Net (to access remote Ingres installations) and also some info about JDBC, ODBC and .Net providers00:31
ratipboro, Ok Let me re check that, I read that but couldnt get what they are trying to say :(00:32
pboroyou first use "netutil" to configure connections and then you can access remote database for example this way: "isql <remotenode>::<dbname>"00:34
pborofor example if I had remote server named "foo", I would connect to its database "bar" using "isql foo::bar"00:34
ratipboro, okay, I just opened netutils. I can give any node name, username and password to authenticate?00:37
pborohmm I'm not sure, I have not really used netutil that much00:37
ratiokay, Let me do that, Just a sec00:38
ratipboro, Hey do you know which protocol I need to use wintcp or tcp-ip?00:42
pborowintcp00:43
pboroif it's Windows :)00:43
pborohmm, oops, lemme recheck00:44
pborosorry, forget wintcp, it's deprecated00:44
pborouse tcpip00:44
pborotcp_ip I mean00:44
ratipboro, ok, I done tcp_ip. Do you know difference of Network Address and Listen Address?00:45
pborohm hm... I should know, but can't recall :D00:46
pboroI guess network address is the hostname like "foo" or "foo.example.tld" and listen address is the port00:47
pboroport being like "II7" or "I67" or what ever have been defined00:47
ratipboro,Ohh okay. which ports are defined is I dont know, Can I use II7?00:49
pboroII7 is the default, so I would try that00:50
ratipboro, is II7 is also called as II?00:51
pboroyes00:51
pborooops, I7 prolly... not sure00:51
pboroI guess the first I is compulsory and the rest is up to user00:51
Alex|nope, you can have any combination of a letter + a letter or a number00:52
Alex|AA, AB, AC....00:52
pboroAlex|, okay, thanks :)00:52
Alex|the 7 in II7 is then "II + 7"00:52
ratiOhh I have used II only is that fine?00:53
Alex|II is caclulated into a TCP listening port (21064 I think) and II7 is 21064 + 7 which is the TCP listening port for JDBC and .NET connections00:53
ratinow it shows me a vnode has beed created00:53
Alex|so your Ingres installation as a two-letter identifier and to connect via jdbc you use your identifier with the 700:53
Alex|II7, AA7, AB7...00:54
ratiAlex|, so do I need to create 2 vnodes?00:54
ratione for II and second for II7?00:55
Alex|nope, to connect via JDBC/Java you need no vnode at all00:55
Alex|vnodes are for connections over php, perl, odbc, etc00:55
Alex|.NET and JDBC use the newer Data Access Server which doesn't require vnodes00:55
ratiAlex|, I need to access remote ingress database and then do create database, drop and other things00:57
Alex|via JDBC you can simply connect with jdbc:ingres://%host%:II7/%db%;00:57
Alex|that you can't do over jdbc unfortunately... for that you need visual dba which uses vnodes00:57
pborocreatedb doesn't work remotely either?00:57
Alex|create database I mean... that's one of the things that only vdba can do remotely00:57
Alex|sad but still true :(00:58
Alex|ckpdb, createdb, destroydb, etc... you either need console access or use VDBA which itself uses the remote command server to call these programs00:58
ratiAlex|, Ohhh then what should I need to install on client machine. and with II7 I need to create vnode?00:58
ratiAlex|,console access also needs vnodes?00:59
Alex|you need to install an Ingres client on your machine and create a vnode to II (not II7) on the other machine... but VDBA is a win-only tool!00:59
ratiya I have windws machine only01:00
Alex|ok, go and install Ingres on your machine selecting "Client" instead of typical server01:00
ratiAlex|, Ok. Let me do that01:00
Alex|then you'll have Ingres -> Visual DBA in the start menu01:00
Alex|there you can create a vnode to your remote host using "II"01:01
ratiAlex|, that client I need to install on my client machine right? or that on remote server machine?01:02
Alex|you have one DBMS and one client - the DBMS I guess is your remote machine where you want to host the database... and on your machine you have the client to access the server01:03
Alex|of course you can have everything on one machine as well... that depends on what you want01:04
ratiAlex|,yea, server is already installed01:04
ratiAlex|, Let me install client on client machine01:04
ratiAlex|, Hey installed typical client01:20
ratiI had created vnode using netutils on server machine, Is that fine?01:21
Alex|vnodes are created locally and will point to the remote machine... so you don't need the vnode on the server but on the client01:21
ratiAlex|,Ohh, so I need to create vnode on my client using visual DBA?01:22
Alex|yes... VDBA -> create vnode -> enter your remote host and a user that is known to the server (probably ingres with some password)01:23
ratiAlex|, Wow I got connected01:28
ratiso I need to install client on client machine and create vnode01:28
ratiand I got ready to access remote server01:29
ratiIs that? Am I right?01:29
Alex|if you want to use commands like createdb, yes... if you have a database and you only want to create tables, do selects, updates, etc you can use JDBC (like that Eclipse plugin) and don't need a local Ingres client01:29
ratiAlex|,Okay01:30
ratiAlex|, Thanks a lot,, I got it working.01:31
ratiThat also clears my questions01:31
Alex|you can also take a look at docs.ingres.com - we have getting started guides there that will tell you more01:31
ratiAlex|,sure, I had searched in google and got to there01:31
ratibut there is not good docs will tell you straigh away01:32
ratino direct configuration, Just file based and other things, so I got confused more :o01:32
Alex|yeah, we still miss something like a cheat sheet that will get you running quickly01:32
Alex|you need to read through some pages before you can start - without asking here ;)01:33
ratiAlex|, ya sure, I was hanging on net wround 2-3 weeks for that, But couldnt find01:33
Alex|community.ingres.com may help you as well01:34
ratiFinally get inges IRC and got help01:34
Alex|the wiki and the forum01:34
ratiAlex|, okay01:34
ratiAlex|, Thanks a lot again :D01:40
Alex|no problem01:40
*** rati has left #ingres02:34
*** zxiiro_ has joined #ingres03:57
*** zxiiro has quit IRC03:57
*** zxiiro_ is now known as zxiiro03:57
*** ChanServ sets mode: +v zxiiro03:57
*** grantc has joined #ingres04:50
*** ChanServ sets mode: +o grantc04:50
*** Dejan has joined #ingres04:51
*** Alex| is now known as Alex|off05:19
*** Alex|off is now known as Alex|05:32
*** atrofast has quit IRC05:47
*** rossand has joined #ingres05:51
*** ChanServ sets mode: +o rossand05:51
*** mull has joined #ingres06:11
*** DarylM has joined #ingres06:18
*** mull has quit IRC06:58
*** mull has joined #ingres06:59
*** zxiiro_ has joined #ingres07:02
*** zxiiro has quit IRC07:02
*** zxiiro_ is now known as zxiiro07:02
*** ChanServ sets mode: +v zxiiro07:02
*** Alex| is now known as Alex|off07:06
*** clach04 has joined #ingres09:03
*** withdefault1 has joined #ingres09:11
*** grantc_ has joined #ingres09:18
*** ChanServ sets mode: +o grantc_09:18
*** grantc has quit IRC09:19
*** Alex|off is now known as Alex|09:23
*** grantc_ has quit IRC09:36
*** grantc_ has joined #ingres09:38
*** ChanServ sets mode: +o grantc_09:38
*** grantc_ has quit IRC09:52
*** cthibert has joined #ingres10:01
*** grantc_ has joined #ingres10:05
*** ChanServ sets mode: +o grantc_10:05
*** grantc_ has quit IRC10:11
*** Dejan has quit IRC10:20
*** atrofast has joined #ingres11:52
*** clach04 has quit IRC12:15
*** cthibert has left #ingres13:28
*** thiagomz has quit IRC13:59
*** clach04 has joined #ingres14:15
*** DarylM has quit IRC14:27
*** Alex| is now known as Alex|off15:18
*** mull has quit IRC15:30
*** toumi01 has left #ingres17:44
*** rossand has quit IRC18:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!