I believe the easiest thing to do would be to modify your my.cnf file in
MySQL. This is described in the INSTALL instructions, part of which I've
copied below.

Step G: Modify the my.cnf file (again)
    This has been put in a different place every version or distribution
    that I have run this one. I have found it in the '/etc' directory as
    well as the '/etc/mysql' directory.

    You can find where yours is by using the find command:

        sudo find / -name my.cnf

    This time you are modifying it so the that the UMLS-Interface package
    (and the utils/ files) can automatically log into the umls database.

        [client]
        user            = <username>
        password        = <password>
        port            = 3306
        socket          = /tmp/mysql.sock
        database        = umls

    The port number is should already be in the my.cnf file under the
    [mysql] heading. I just copied and pasted that.


You can modify the values in my.cnf to with whatever values apply to your
system. Then, UMLS::Interface will take these values from my.cnf and run
with those...

It is also possible to set these values from the command line, via options
that are found here :

http://search.cpan.org/~btmcinnes/UMLS-Similarity-1.33/utils/umls-similarity.pl

(look under database options)

http://search.cpan.org/~btmcinnes/UMLS-Similarity-1.33/utils/umls-similarity.pl#Database_Options
:

I hope this helps!

Cordially,
Ted


On Mon, Feb 3, 2014 at 9:35 AM, <[email protected]> wrote:

>
>
> Thanks Ted,
>
> I have read the installation instructions but I don't undertand how to set
> UMLS::Interface to use an existing database (named UMLS2012AA) in a remote
> server (I want to use the server IP) with different user name and password.
> My question is how to use UMLS::Interface and UMLS::Similarity with an
> other configuration different with the following:
> database : umls (UMLS2012AA instead)
> user : umls (the mine instead)
> password : umls(my password instead)
> host : localhost (the server IP and port instead).
>
> I work on Windows 7.
>
> Best regards
>  
>



-- 
Ted Pedersen
http://www.d.umn.edu/~tpederse

Reply via email to