fouad smaoui's Profile
Beginner
25
Points

Questions
5

Answers
2

  • Beginner Asked on November 2, 2019 in Database Admin.

    That is allowed by default on MySQL.

    What is disabled by default is remote root access. If you want to enable that, run this SQL command locally:

     GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
     FLUSH PRIVILEGES;

    And then find the following line and comment it out in your my.cnf file, which usually lives on /etc/mysql/my.cnf on Unix/OSX systems. In some cases the location for the file is /etc/mysql/mysql.conf.d/mysqld.cnf).

    If it’s a Windows system, you can find it in the MySQL installation directory, usually something like C:\Program Files\MySQL\MySQL Server 5.5\ and the filename will be my.ini.

    Change line

     bind-address = 127.0.0.1

    to

     #bind-address = 127.0.0.1

    And restart the MySQL server (Unix/OSX, and Windows) for the changes to take effect.

    • 391 views
    • 1 answers
    • 2 votes
  • Beginner Asked on November 2, 2019 in Mobile Dev.

    since flutter default min sdk version for android is 16 , you have to add the following dependancies in your app level gradle file to enable multidex as mentioned in documentation https://developer.android.com/studio/build/multidex

     

    android {
        defaultConfig {
            ...
            minSdkVersion 16 
            targetSdkVersion 27
            multiDexEnabled true
        }
        ...
    }
    
    dependencies {
      compile 'com.android.support:multidex:1.0.3' 
    }
    • 737 views
    • 1 answers
    • 1 votes