OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Installation/Technical Issues or Problems The application meets all mandatory requirements give error

This topic contains 2 replies, has 2 voices, and was last updated by  salih 6 years, 1 month ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #27887

    salih
    Member

    Hi everyone, i m take it this is time error, i m used mac osx mamp php 7.1.1
    how i can solved this is proplem

    thank you for all,

    [02:45]-[hanifeoglu@MacBook-Pro]-[/Applications/MAMP/htdocs/crm-application] php app/console oro:install –env=prod
    Installing Oro Application.

    Check system requirements
    +———+—————————————————————————————————————————————————+
    | Check | Mandatory requirements |
    +———+—————————————————————————————————————————————————+
    | OK | Vendor libraries must be installed |
    | OK | app/cache/ or var/cache/ directory must be writable |
    | OK | app/logs/ or var/logs/ directory must be writable |
    | OK | Configured default timezone “Europe/Istanbul” must be supported by your installation of PHP |
    | OK | iconv() must be available |
    | OK | json_encode() must be available |
    | OK | session_start() must be available |
    | OK | ctype_alpha() must be available |
    | OK | token_get_all() must be available |
    | OK | simplexml_import_dom() must be available |
    | OK | PCRE extension must be available |
    | OK | /var/folders/jd/ppfbn78n411glvrplpxc6n580000gp/T (sys_get_temp_dir()) directory must be writable |
    | OK | Maximum supported filename length must be greater or equal 242 characters. Make sure that the cache folder is not inside the encrypted directory. |
    +———+—————————————————————————————————————————————————+
    +———+——————————————–+
    | Check | PHP settings |
    +———+——————————————–+
    | OK | detect_unicode must be disabled in php.ini |
    | OK | string functions should not be overloaded |
    | OK | memory_limit should be at least 512M |
    +———+——————————————–+
    +———+——————————————————————————+
    | Check | Oro specific requirements |
    +———+——————————————————————————+
    | OK | PHP version must be at least 7.1 (7.1.1 installed) |
    | OK | GD extension must be at least 2.0 |
    | OK | mcrypt_encrypt() should be available |
    | OK | iconv() must not return the false result on converting string “check string” |
    | OK | intl extension should be available |
    | OK | icu library must be at least 3.8 |
    | OK | zip extension should be installed |
    | OK | web/uploads/ directory must be writable |
    | OK | web/media/ directory must be writable |
    | OK | web/bundles/ directory must be writable |
    | OK | app/attachment/ directory must be writable |
    | OK | app/import_export/ directory must be writable |
    | OK | web directory must be writable |
    | OK | app/config/parameters.yml file must be writable |
    +———+——————————————————————————+
    +———+——————————————————————————————————–+
    | Check | Optional recommendations |
    +———+——————————————————————————————————–+
    | OK | Vendors should be installed in order to check all requirements. |
    | OK | Requirements file should be up-to-date |
    | OK | PCRE extension should be at least version 8.0 (8.38 installed) |
    | OK | PHP-DOM and PHP-XML modules should be installed |
    | OK | mb_strlen() should be available |
    | OK | utf8_decode() should be available |
    | OK | filter_var() should be available |
    | OK | posix_isatty() should be available |
    | OK | intl extension should be available |
    | OK | intl extension should be correctly configured |
    | OK | intl ICU version should be at least 4+ |
    | WARNING | To get the latest internationalization data upgrade the ICU system package and the intl PHP extension. |
    | OK | intl.error_level should be 0 in php.ini |
    | OK | a PHP accelerator should be installed |
    | OK | short_open_tag should be disabled in php.ini |
    | OK | magic_quotes_gpc should be disabled in php.ini |
    | OK | register_globals should be disabled in php.ini |
    | OK | session.auto_start should be disabled in php.ini |
    | OK | PDO should be installed |
    | OK | PDO should have some drivers installed (currently available: mysql, sqlite, pgsql) |
    | OK | SOAP extension should be installed (API calls) |
    | WARNING | Install and enable the Tidy extension. |
    | OK | A JS Engine (node) is installed |
    +———+——————————————————————————————————–+
    The application meets all mandatory requirements
    Setting up database.
    Process migrations…

    [Doctrine\DBAL\Exception\ConnectionException]
    An exception occured in driver: SQLSTATE[HY000] [1049] Unknown database ‘oro_crm’

    [Doctrine\DBAL\Driver\PDOException]
    SQLSTATE[HY000] [1049] Unknown database ‘oro_crm’

    [PDOException]
    SQLSTATE[HY000] [1049] Unknown database ‘oro_crm’

    oro:migration:load [–force] [–dry-run] [–show-queries] [–bundles [BUNDLES]] [–exclude [EXCLUDE]] [–timeout [TIMEOUT]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–disabled-listeners DISABLED-LISTENERS] [–current-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–] <command>

    The command ‘/Applications/MAMP/bin/php/php7.1.1/bin/php’ ‘app/console’ ‘oro:migration:load’ ‘–force’ ‘–timeout=300’ ‘–env=prod’ terminated with an exit code: 1.
    [02:45]-[hanifeoglu@MacBook-Pro]-[/Applications/MAMP/htdocs/crm-application]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #27888

    Michael
    Keymaster

    SQLSTATE[HY000] [1049] Unknown database ‘oro_crm

    Create the database. Or if it has been created – check that the database user has access to this database.

    #27889

    salih
    Member

    Hi Michael, that is right i m make to mistake i m forget, “oro_crm” create database now done

    thank you so much
    best regards
    salih

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.

Back to top