Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kai3192
    Junior Member
    • Jun 2013
    • 8

    ERROR in DBI connect orthomclInstallSchema

    Hello,
    I am using orthomcl ... at the step 5 (orthomclInstallSchema) in the manual (http://orthomcl.org/common/downloads.../UserGuide.txt) it gives me an error saying 'DBI connect('orthomcl:localhost:3307','orthomcl',...) failed: Access denied for user 'orthomcl'@'localhost' (using password: YES) at /home/kaivalya3192/orthomclSoftware-v2.0.8/bin/../lib/perl/OrthoMCLEngine/Main/Base.pm line 56
    kaivalya3192@ubuntu:~/orthomclSoftware-v2.0.8/bin$' ...

    Can somebody please help me ???

    Thank you...
    Last edited by kai3192; 06-14-2013, 01:59 PM. Reason: Typing Error
  • SES
    Senior Member
    • Mar 2010
    • 275

    #2
    It appears you don't have permissions on the database. You will need to create a database and give a user permissions on that. Then, create a simple config file like the one printed when you run orthomclInstallSchema with no arguments. In that config file you will include the database name, user and password and names for the tables to create. If you run the program again with the config file as the only argument, it should work. Let us know if that does not solve your problem.

    Comment

    • kai3192
      Junior Member
      • Jun 2013
      • 8

      #3
      I should create a config file in orthomcl means that I need to edit the preexisting file orthomcl.config.template right ??
      I did edit that and entered the same database name and password as for the database i created in mysql... i also entered same user name a nd have granted the privileges for that user name in mysql for the same database....

      IT IS STILL GIVing me an error 'DBI connect('orthomcl:3307','kaivalya3192',...) failed: Can't connect to MySQL server on '3307' (22) at /home/kaivalya3192/orthomclSoftware-v2.0.8/bin/../lib/perl/OrthoMCLEngine/Main/Base.pm line 56'

      Comment

      • SES
        Senior Member
        • Mar 2010
        • 275

        #4
        Originally posted by kai3192 View Post
        IT IS STILL GIVing me an error 'DBI connect('orthomcl:3307','kaivalya3192',...) failed: Can't connect to MySQL server on '3307' (22) at /home/kaivalya3192/orthomclSoftware-v2.0.8/bin/../lib/perl/OrthoMCLEngine/Main/Base.pm line 56'
        Okay, now this is a different error and it indicates your serving is not running. Start the daemon (mysqld or mysqld_safe) and then try to connect. By the way, you can use the following command to see if the daemon is running.

        Code:
        ps aux | grep mysqld

        Comment

        • kai3192
          Junior Member
          • Jun 2013
          • 8

          #5
          When I use the script u just gave me it says

          mysql 1033 0.0 0.5 492532 43256 ? Ssl 10:21 0:02 /usr/sbin/mysqld
          1000 5070 0.0 0.0 8108 924 pts/1 R+ 21:19 0:00 grep --color=auto mysqld

          Comment

          • kai3192
            Junior Member
            • Jun 2013
            • 8

            #6
            does this mean that the Daemon is working ??

            Comment

            • SES
              Senior Member
              • Mar 2010
              • 275

              #7
              At this point, I recommend you try to connect to the database from the command line. If you are able to do so, that would suggest there is a typo in your config file or possibly something wrong with your DBI installation/configuration.

              Comment

              • kai3192
                Junior Member
                • Jun 2013
                • 8

                #8
                I was able to connect to the database using commandline using the user root, but not using the user kaivalya3192

                Comment

                • SES
                  Senior Member
                  • Mar 2010
                  • 275

                  #9
                  Originally posted by kai3192 View Post
                  I was able to connect to the database using commandline using the user root, but not using the user kaivalya3192
                  I think that points to your issue because the DBI module is just an interface, and you'll have to be able to connect using the credentials you provide.

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    Original post indicated that the user is/needs to be "orthomcl". Isn't that still valid?

                    Comment

                    • kai3192
                      Junior Member
                      • Jun 2013
                      • 8

                      #11
                      Thank you so much... It just worked and I was able to run the OrthomclInstallSchema....

                      BUT NOW I am getting an error in the 9th step orthomclLoadBlast saying 'DBD::mysql::st execute failed: The used command is not allowed with this MySQL version at orthomclLoadBlast line 39, <F> line 14.'

                      Comment

                      • kai3192
                        Junior Member
                        • Jun 2013
                        • 8

                        #12
                        I am using ubuntu.... and I have installed MySQL version 5.5 server.... I aslo tried reinstalling by building the source and then typing DENABLED--local-infile=1 while using the c-make command...

                        After installation it still does not work...

                        Comment

                        • SES
                          Senior Member
                          • Mar 2010
                          • 275

                          #13
                          Originally posted by kai3192 View Post
                          I am using ubuntu.... and I have installed MySQL version 5.5 server.... I aslo tried reinstalling by building the source and then typing DENABLED--local-infile=1 while using the c-make command...

                          After installation it still does not work...
                          If you see the server running and you can connect and create databases, then you probably have a working installation. That error is most likely a Perl DBI error, so I would suggest you take a look at the DBI test suite and see if everything is installed correctly. Or, install a more recent DBI version.

                          So, try to get the database access working again and then re-install Perl DBI and see if that doesn't solve your problems. Good luck.

                          Comment

                          • gyuxutong
                            Junior Member
                            • May 2011
                            • 1

                            #14
                            Originally posted by kai3192 View Post
                            Thank you so much... It just worked and I was able to run the OrthomclInstallSchema....
                            I encounter the same question you mentioned. Could you give me a help to pass the first step, running the OrthomclInstallSchema. Thank you.

                            Comment

                            • amaruquyllur
                              Junior Member
                              • Sep 2013
                              • 7

                              #15
                              Originally posted by kai3192 View Post
                              Thank you so much... It just worked and I was able to run the OrthomclInstallSchema....

                              BUT NOW I am getting an error in the 9th step orthomclLoadBlast saying 'DBD::mysql::st execute failed: The used command is not allowed with this MySQL version at orthomclLoadBlast line 39, <F> line 14.'
                              Hello. Thanks god i found your thread.

                              I am still stuck in your first problem. Even if i put "root" and my root password in the .config file, i cannot connect. I have the same message error that you had.

                              Did you do some extra things or it just worked like that?

                              Thanks.

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                                by SEQadmin2



                                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                                Yesterday, 05:17 AM
                              • GATTACAT
                                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by GATTACAT
                                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                                07-01-2026, 11:43 AM
                              • SEQadmin2
                                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by SEQadmin2


                                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                                Here are nine questions we think about, in roughly the order they matter, before...
                                06-18-2026, 07:11 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Yesterday, 10:08 AM
                              0 responses
                              6 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-07-2026, 11:05 AM
                              0 responses
                              8 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-30-2026, 05:37 AM
                              0 responses
                              29 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...