• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

installation problem

Installing Bagisto
2
10
905
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 11 Nov 2019, 13:37

    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 11 Nov 2019, 14:34

      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 11 Nov 2019, 15:40

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

        1 Reply Last reply Reply Quote 0
        • S
          smartjeet last edited by 12 Nov 2019, 04:54

          is bagisto not for mysql??

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by 12 Nov 2019, 06:41

            Hi @smartjeet

            You can use mysql.

            1 Reply Last reply Reply Quote 0
            • S
              smartjeet last edited by 12 Nov 2019, 06:43

              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 12 Nov 2019, 06:50

                are vai kuch to bolo

                1 Reply Last reply Reply Quote 0
                • S
                  smartjeet last edited by 12 Nov 2019, 06:57

                  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 12 Nov 2019, 12:20

                    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 12 Nov 2019, 12:54

                      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
                      6 out of 10
                      • First post
                        6/10
                        Last post