Flutter and Mysql connection (mysql1 package)

preview_player
Показать описание
We'll create a connection between mysql and flutter through mysql1 dart's package.

Рекомендации по теме
Комментарии
Автор

finally ... a mysql flutter tutorial that does not involve PHP... thank you...

subrotoxing
Автор

Thanks for everything but i have a problem. I can't connect to any database, when i try then i get Socket Exception error.
SocketException (SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 46200)
What can i do? Thanks

jazzcorptechnology
Автор

i tried this code but i got an error like Socket Exception error.
SocketException (SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 46300)

divyamanickam-ki
Автор

How to do insert? SELECT FROM works but INSERT INTO doesn't work in any way. Tried for 3 days.

benerler
Автор

i get an error Unhandled Exception: SocketException: The remote computer refused the network connection.

(OS Error: The remote computer refused the network connection.

WaleedLatif-wz
Автор

I got this error -> Unhandled Exception: RangeError (byteOffset): Invalid value: Not in inclusive range 0..5: 7; Can u help me?

danilocarneirochristensen
Автор

You can't see anything, how do you think of uploading in 720p with such small letters?

alangonzalez
Автор

Thank you, i was struggling with this so much.

mracipayam
Автор

Hi when I try to connect the Data Base vía web can’t get access

edgarpolanco
Автор

StateError (Bad state: Cannot write to socket, it is closed)
How can I fix this?

husniddintogizov
Автор

Any solution about the error : Unhandled Exception: SocketException: Connection timed out ?

Fabiboule
Автор

hi, im using my own mobile Android device to test my application. is there any way for it to connect to the database? so far it throws a "Connection Refused" error if the hostname is "localhost" and a "Connection timed out" if I change the hostname to "10.0.2.2"

great vid btw! :)

kitlim
Автор

hi, from the virtual device its ok for me. But when i generate the build and install the app, doesn't work. Any suggest?

emmanueltartallini
Автор

Thank you. Sei que não vai entender mas obg. Estava quebrando a cabeça para achar a solução.

linomendes
Автор

Thanks. Are the same instructions in android and ios?

Jordixtv
Автор

I am using another device as a test, and it is connected via adb. but when i connect, i get unhandled exception, connection timeout and connection not allowed.. what to do?

poujhit
Автор

It doesn't work for me :x, I already looked for a solution but oranges

The connection to the DB is not completed

TimeoutException (TimeoutException after Future not completed)

help me

zinedinejeanpierreeriqueto
Автор

why the return result is always empty?

richardchan
Автор

I am getting this error what should I do?
Unhandled Exception: SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 44022

anuradhaga
Автор

Can you retrieve data select * from table data list? please help me

dddxnxn