Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    installation problem

    Installing Bagisto
    2
    10
    887
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smartjeet last edited by

      Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json null, created_at timestamp null, updated_at timestamp null) default cha' at line 1 (SQL: create table roles (id int unsigned not null auto_increment primary key, name varchar(191) not null, description varchar(191) null, permission_type varchar(191) not null, permissions json null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB ROW_FORMAT=DYNAMIC)

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @smartjeet

        Please refer the following one for your problem - https://forums.bagisto.com/topic/336/installation-has-failed/2

        Thanks

        1 Reply Last reply Reply Quote 0
        • S
          smartjeet last edited by

          i am using mysql not maria db...what should i do now??

          1 Reply Last reply Reply Quote 0
          • S
            smartjeet last edited by

            is bagisto not for mysql??

            1 Reply Last reply Reply Quote 0
            • R
              rahul last edited by

              Hi @smartjeet

              You can use mysql.

              1 Reply Last reply Reply Quote 0
              • S
                smartjeet last edited by

                but i got "Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json null, created_at timestamp null, updated_at timestamp null) default cha' at line 1 (SQL: create table roles (id int unsigned not null auto_increment primary key, name varchar(191) not null, description varchar(191) null, permission_type varchar(191) not null, permissions json null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB ROW_FORMAT=DYNAMIC)" this problem

                1 Reply Last reply Reply Quote 0
                • S
                  smartjeet last edited by

                  are vai kuch to bolo

                  1 Reply Last reply Reply Quote 0
                  • S
                    smartjeet last edited by

                    i think i should try any another script bcoz bagisto is not installing properly and support is very poor...good bye

                    1 Reply Last reply Reply Quote 0
                    • R
                      rahul last edited by

                      Hi @smartjeet

                      I have provided you proper solution.

                      You are using MariaDB 10.1 which does not support JSON column so i advice you to upgrade your version to MariaDB 10.2 (Support JSON column and way to upgrade is given link).

                      Just do it and it will start working.

                      Thanks
                      Rahul Shukla

                      1 Reply Last reply Reply Quote 0
                      • S
                        smartjeet last edited by

                        i am telling you that i am not using maria db i am using mysql still showing this error "Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json null, created_at timestamp null, updated_at timestamp null) default cha' at line 1 (SQL: create table roles (id int unsigned not null auto_increment primary key, name varchar(191) not null, description varchar(191) null, permission_type varchar(191) not null, permissions json null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB ROW_FORMAT=DYNAMIC)"

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post