SocketException: Connection failed (OS Error: Operation not permitted, errno = 1) with flutter app on macOS

macOS needs you to request a specific entitlement in order to access the network. To do that open macos/Runner/DebugProfile.entitlements and add the following key-value pair. <key>com.apple.security.network.client</key> <true/> Then do the same thing in macos/Runner/Release.entitlements. You can read more about this in the Desktop support for Flutter documentation.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)