Menu

mysql_pcconnect problem

Help
2013-03-04
2013-03-05
  • Terje Halvorsen

    Terje Halvorsen - 2013-03-04

    Hello,
    I'm trying to install wikindx4 in a wamp surrounding. I keep getting stopped at line 249 in ..SQL.php.
    Like this:
    ( ! ) Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'wikindx'@'localhost' (using password: YES) in C:\wampserver2\www\wikindx4\wikindx4\core\sql\SQL.php on line 249
    (...)
    First I met this at Wampserver2 ver 2.2e,
    then I tried the newest available Wamp5, but php was too low version.
    So I tried wampserver 2.1.d, which made no difference.
    So please, Mark or somebody-- which WAMP version is actually known to work properly with Wikidx4?
    With hoes and regards,
    Terje

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-03-04

    Hi Terje,

    I have come across problems with various versions of WAMP and wikindx but I do have WAMP running wikindx 4.1 on a windows machine at home. I'll have to check the version later today and will get back to you.

    You might also try XAMPP:
    http://www.apachefriends.org/en/xampp-windows.html
    which I use on my OSX computer for wikindx (but there is a windows version).

    However, the error you get sounds like a problem accessing the SQL server which is probably not to do with PHP.

    1. Which version of wikindx are you using?
    2. Have you set the MySQL permissions on your database for the wikindx user? It must be GRANT ALL (you can do this via phpMyAdmin).

    Regards,

    Mark

     
  • Notis Toufexis

    Notis Toufexis - 2013-03-04

    Hi Terje,

    XAMPP 1.7.4 works fine on my Windows 7 Machine:

    ApacheFriends XAMPP (Basispaket) version 1.7.4
    • Apache 2.2.17
    • MySQL 5.5.8 (Community Server)
    • PHP 5.3.5 (VC6 X86 32bit) + PEAR
    • XAMPP Control Version 2.5 from www.nat32.com
    • XAMPP Security
    • SQLite 2.8.15
    • OpenSSL 0.9.8o
    • phpMyAdmin 3.3.9
    • ADOdb 5.11
    • Mercury Mail Transport System v4.62
    • FileZilla FTP Server 0.9.37
    • Webalizer 2.01-10
    • Zend Optimizer 3.3.0
    • Perl 5.10.1
    • Mod_perl 2.0.4
    • Tomcat 7.0.3
     
  • Terje Halvorsen

    Terje Halvorsen - 2013-03-04

    Thank You, Mark and toufexis.

    Mark was (of course) right - the privileges hadn't been set.
    So now my DB has even been upgraded.
    however, some new problems arose with parameters/arguments, so DB couldn't be opened.
    Thus:
    ( ! ) Warning: mysqli_fetch_fields() expects parameter 1 to be mysqli_result, boolean given in C:\wampserver2\www\wikindx4\wikindx4\core\startup\UPDATEDATABASE.php on line 817

    ( ! ) Warning: Invalid argument supplied for foreach() in C:\wampserver2\www\wikindx4\wikindx4\core\startup\UPDATEDATABASE.php on line 818

    ( ! ) Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in C:\wampserver2\www\wikindx4\wikindx4\core\startup\UPDATEDATABASE.php on line 823

    By the way - I'm running Windows 7 - Apache 2.2.17 - PHP 5.3.4 - MySQL 5.1.53
    Regards
    Terje

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-03-04

    Hi Terje,

    Just to confirm, you are upgrading a v3.8.2 wikindx database? I understood from you first post that this was a fresh install.

    Because you had some failures the first or other times you tried the update, did you start again from the beginning (i.e. drop your new database tables and reload the v3.8.2 database then start the upgrade again)?

    The errors you point to are just warnings and that section (the final section of the upgrade) just performs a UTF-8 character check. As they were just warnings, I think you should have got to the end of the upgrade process. Is this right and you can now browse your wikindx? If so, if you download the repairkit plugin from SF, you can run the UTF-8 character check from there.

    Regards,

    Mark

     
    • Terje Halvorsen

      Terje Halvorsen - 2013-03-04

      Hi Mark,
      thanks for your time!
      Yes, I am upgrading. And I believe it is from 3.8.2. My old laptop
      crashed entirely a year ago, so I'm not really quite sure. I'm importng
      from a (structured) backup-file. According to phpMyAdmin it has 39 tables,
      whereas after upgrade there are 46. First created empty wikndx4, gave
      privileges, then imported, then ran wikindx4 program through 15 stages og
      update. Stop occured during stage 15.
      And database could not be read, according to this message:

      Unable to read database.
      SELECT * FROM WKX_wkx_bibtex_string

      --> (Table 'wikindx4.wkx_wkx_bibtex_string' doesn't exist)
      (There does exist a table named 'wkx_bibtex_string' - but none called
      WKX_wkx_bibtex_string)

      Regards,
      Terje

      2013/3/4 Mark Grimshaw sirfragalot@users.sf.net

      Hi Terje,

      Just to confirm, you are upgrading a v3.8.2 wikindx database? I understood
      from you first post that this was a fresh install.

      Because you had some failures the first or other times you tried the
      update, did you start again from the beginning (i.e. drop your new database
      tables and reload the v3.8.2 database then start the upgrade again)?

      The errors you point to are just warnings and that section (the final
      section of the upgrade) just performs a UTF-8 character check. As they were
      just warnings, I think you should have got to the end of the upgrade
      process. Is this right and you can now browse your wikindx? If so, if you
      download the repairkit plugin from SF, you can run the UTF-8 character
      check from there.

      Regards,
      Mark

      mysql_pcconnect problemhttps://sourceforge.net/p/wikindx/discussion/326884/thread/d1e2bcfc/?limit=25#fc56

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/wikindx/discussion/326884/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/prefs/

       
  • Mark Grimshaw

    Mark Grimshaw - 2013-03-05

    Hi Terje,

    That's the second time I've come across that bibtex_string issue but I've been unable to duplicate it. The best thing is to send the 3.8.2 dump to me and I can convert it. In fact, can you also send a v4.1 dump please so I can try to track down that error?

    If you don't want to tell me your wikindx admin username/password:

    1. Run the 3.8 database through wikindx 3.8.2 software and use Admin|Configure to change the admin username/password.
    2. Dump the 3.8 database.
    3. Upgrade that new 3.8 dump to v4.1 as far as you can then dump it.
    4. Send both dumps to me with the new temporary admin username/password.

    My email can be found at the bottom here:
    http://www.wikindx.com/gameaudio/wikindx4/index.php

    Regards,

    Mark

     

Log in to post a comment.