On 14/11/2022 13.09, bloomlync monisha wrote:
  Hello Everyone,
                    I was facing an error while I am trying to connect the database through mysql, when I run the database I got this below mentioned error, here i attached the cmd screenshot and coding screenshot for you references.

Kindly help me to sort out this error.

Error:

     kwargs["port"] = int(settings_dict["PORT"])
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '127.0.0.1:3306'

As the error message clearly states, the string '127.0.0.1:3306' cannot be converted to an integer in base 10.

You most likely meant to write 3306 instead and specify the IP address somewhere else, but of course, you're the only one who knows for sure.

Kind regards,
Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/523e7dc8-c838-b857-d318-bc368299bcda%40stacktrace.dk.

Attachment: OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to