+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 30

Thread: How to run a SQL mysql.sql file for plugin "rc-calendar"?

  1. #1
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default How to run a SQL mysql.sql file for plugin "rc-calendar"?

    I have installed the plugin "calendar":

    RoundCube Calendar

    In step 3: Run the SQL file in /calendar/SQL/

    How do I run this SQL file?

    The plugin have I uploaded into:
    /volume1/@appstore/MailStation/roundcubemail/plugins/calendar

    Then I have a link for the plugin to the calendar like:
    /volume1/@appstore/MailStation/target/roundcubemail/config/main.inc.php

    $rcmail_config['plugins'] = array(
    'emoticons',
    'calendar'
    );

    Now I will see "SERVER ERROR (OK)" after clicking on de button Calendar.
    I will see the calendar and above the ERROR.

    When I make an appointment, I will get the message "SERVER CURRENTLY NOT AVAILABLE"

    In the forum of the rc-calendar they have write:

    If the plugin has a SQL folder:

    Adjust "Roundcube" Database as shown in the mysql.sql script.
    By default MyRoundcube plugins support MySQL database.


    Please who wants to help me?
    Last edited by Theet; 03-26-2010 at 11:52 AM.

  2. #2
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    Do you have PHPMyAdmin? If you do, you can go into your RoundCube database and upload the file into the database.

  3. #3
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    Do you have PHPMyAdmin? If you do, you can go into your RoundCube database and upload the file into the database.
    You make me happy, I do have phpMyAdmin, but I don't see a database from RoundCube / MailStation / roundcubemail....

    What to do?

  4. #4
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    RoundCube has to have a database to work, look in the <RC root>/config/db.inc.php look for the $rcmail_config['db_dsnw'] it should have a string like: mysql://roundcube:pass@localhost/roundcubemail the last part (mysql://roundcube:pass@localhost/roundcubemail) is the database that RoundCube is using.

  5. #5
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    RoundCube has to have a database to work, look in the <RC root>/config/db.inc.php look for the $rcmail_config['db_dsnw'] it should have a string like: mysql://roundcube***@localhost/roundcubemail the last part (mysql://roundcube***@localhost/roundcubemail) is the database that RoundCube is using.
    I have never done this before, once is the first time:

    How to import this database into phpMyAdmin?
    roundcubemail is a part of AJAX software in Synology

    (Synology Inc. - NEW NAS Experience - - MailStation) the software of roundcubestation is
    placed in a map called @appstore. I don't think so that I can import the database with the import button....

  6. #6
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    RoundCube has to have a database to work, look in the <RC root>/config/db.inc.php look for the $rcmail_config['db_dsnw'] it should have a string like: mysql://roundcube***@localhost/roundcubemail the last part (mysql://roundcube***@localhost/roundcubemail) is the database that RoundCube is using.
    With telnet I have a maps:

    /volume1/homes/.Maildir (here is saved all personal mail by user)
    /volume1/@appstore/MailStation/roundcubemail/plugins

    I have looked into phpMyAdmin, but I don't see a SQL database called
    "roundcube..."

    roundcubemail is a part of AJAX software from Synology, software like
    MailStation is covered behind @appstore map. How can I import the
    database from roundcube?

  7. #7
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    What does your <RC root>/config/db.inc.php say that the database that RoundCube is using it doesn't have to have roundcube in the name.

  8. #8
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    What does your <RC root>/config/db.inc.php say that the database that RoundCube is using it doesn't have to have roundcube in the name.
    $rcmail_config['db_dsnw'] = 'pgsql://roundcube:@localhost/roundcubemail';
    // postgres example: 'pgsql://roundcube***@localhost/roundcubemail';
    // Warning: for SQLite use absolute path in DSN:
    // sqlite example: 'sqlite:////full/path/to/sqlite.db?mode=0646';

    This is what is says...

    The db.inc.php file is listed in: /volume1/@appstore/MailStation/roundcubemail/config/db.inc.php

    The databases from phpMyAdmin are saved in: /volume1/@database/mysql/ but there isn't a database who's look like roundcube...
    Last edited by Theet; 03-26-2010 at 05:20 PM.

  9. #9
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    Ah your using a Postgres SQL database not MySQL I don't know if the calendar plugin works with Postgres SQL, and I don't know as much about Postgres SQL management tools, maybe Rosali would have a bettor idea about getting it to work with Postgres SQL.

  10. #10
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    Ah your using a Postgres SQL database not MySQL I don't know if the calendar plugin works with Postgres SQL, and I don't know as much about Postgres SQL management tools, maybe Rosali would have a bettor idea about getting it to work with Postgres SQL.
    Above stands:

    $rcmail_config = array();

    // PEAR database DSN for read/write operations
    // format is db_provider://userassword@host/database
    // For examples see http://pear.php.net/manual/en/packag....intro-dsn.php
    // currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql

    Thank you for the help so far, Rosali is another moderator I guess?

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts