Do you have an environment variable in your shell called HGDB_CONF which is the value "/root/.hg.conf" ?
The value of your home directory that hgsql uses comes from the HOME environment variable in your shell. Try this: $ echo $HOME To see if that says /home/myname or /root You can use HGDB_CONF to point to a specific hg.conf file, but you should not need to do this if HOME is correct. --Hiram Ashok Reddy wrote: > Hi, > > I have one question regarding hgsql usge. > > After 'make' of hgsql, the binary file is saved in to /home/myname/bin/i686 > folder. > > If I try to create a database by using hgsql.... > > $hgsql -e 'create database hg18' mysql > > I am getting an erro??. > > Couldn't open /root/.hg.conf , No such file or directory. > > Actually my .hg.conf file is in /home/myname/ . > How/Where can I change the .hg.conf file path from /root/.hg.conf to > /home/myname/. _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
