Cześć.
Przepraszam jeśli to nie jest właściwy dział, ale uznałem, że coś w bazie mam do wyczyszczenia.
Mam mysql Ver 8.0.30-0ubuntu0.20.04.2 for Linux on x86_64 ((Ubuntu)).
Na stronie gdy próbuję sortować po kolumnie zawierającej adresy IP otrzymuję takie ostrzeżenie:
SQL Warnings: 1411: Incorrect string value: '
glpibaza.glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name' for function inet_aton 1411: Incorrect string value: 'glpibaza.glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name' for function inet_aton 1411: Incorrect string value: 'glpibaza.glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name' for function inet_aton 1411: Incorrect string value: 'glpibaza.glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name' for function inet_aton 1411: Incorrect string value: 'glpibaza.glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name' for function inet_aton 1411: Incorrect string value: 'glpibaza.glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name' for function inet_aton in query "SELECT DISTINCTglpi_computers.idAS id, 'username' AS currentuser,glpi_computers.entities_id,glpi_computers.is_recursive,glpi_computers.nameASITEM_Computer_1,glpi_computers.idASITEM_Computer_1_id, GROUP_CONCAT(DISTINCT CONCAT(IFNULL(glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name, 'NULL'), '$#$',glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.id) ORDER BYglpi_ipaddresses_937b8c393ea02752d06397f2628684f5.idSEPARATOR '$$##$$') ASITEM_Computer_126,glpi_agents.last_contactASITEM_Computer_902,glpi_computers.date_modASITEM_Computer_19,glpi_computers.contactASITEM_Computer_7,glpi_locations.completenameASITEM_Computer_3,glpi_computers.otherserialASITEM_Computer_6,glpi_states.completenameASITEM_Computer_31,glpi_computers.serialASITEM_Computer_5, GROUP_CONCAT(DISTINCT CONCAT(IFNULL(glpi_computerantiviruses.is_uptodate, 'NULL'), '$#$',glpi_computerantiviruses.id) ORDER BYglpi_computerantiviruses.idSEPARATOR '$$##$$') ASITEM_Computer_170,glpi_sockets.idASITEM_Computer_1310, GROUP_CONCAT(DISTINCT CONCAT(IFNULL(glpi_sockets_4371a472fe73b6d359d0ff27ed58927e.name, 'NULL'), '$#$',glpi_sockets_4371a472fe73b6d359d0ff27ed58927e.id) ORDER BYglpi_sockets_4371a472fe73b6d359d0ff27ed58927e.idSEPARATOR '$$##$$') ASITEM_Computer_22, GROUP_CONCAT(DISTINCT CONCAT(IFNULL(glpi_plugin_tag_tags_23e0c5a3c33f9fc3341d81fc24a0e3a5.name, 'NULL'), '$#$',glpi_plugin_tag_tags_23e0c5a3c33f9fc3341d81fc24a0e3a5.id) ORDER BYglpi_plugin_tag_tags_23e0c5a3c33f9fc3341d81fc24a0e3a5.idSEPARATOR '$$##$$') ASITEM_Computer_10500,glpi_operatingsystemversions_9719987b154aaf3b42c3db32aef59090.nameASITEM_Computer_46,glpi_operatingsystemeditions_9719987b154aaf3b42c3db32aef59090.nameASITEM_Computer_63,glpi_computermodels.nameASITEM_Computer_40,glpi_agents.versionASITEM_Computer_903,glpi_agents.nameASITEM_Computer_900,glpi_agents.idASITEM_Computer_900_id,glpi_computers.date_creationASITEM_Computer_121,glpi_computers.commentASITEM_Computer_16FROMglpi_computersLEFT JOINglpi_ipaddressesASglpi_ipaddresses_937b8c393ea02752d06397f2628684f5ON (glpi_computers.id=glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.mainitems_idANDglpi_ipaddresses_937b8c393ea02752d06397f2628684f5.mainitemtype= 'Computer' ANDglpi_ipaddresses_937b8c393ea02752d06397f2628684f5.is_deleted= '0' ) LEFT JOINglpi_agentsON (glpi_computers.id=glpi_agents.items_idANDglpi_agents.itemtype= 'Computer' ) LEFT JOINglpi_locationsON (glpi_computers.locations_id=glpi_locations.id) LEFT JOINglpi_links_itemtypesON (glpi_links_itemtypes.itemtype= 'Computer' ) LEFT JOINglpi_linksASglpi_links_ff2a378adbb623734295d631bc0c6584ON (glpi_links_itemtypes.links_id=glpi_links_ff2a378adbb623734295d631bc0c6584.id)LEFT JOINglpi_statesON (glpi_computers.states_id=glpi_states.id) LEFT JOINglpi_computerantivirusesON (glpi_computers.id=glpi_computerantiviruses.computers_id) LEFT JOINglpi_socketsON (glpi_computers.id=glpi_sockets.items_idANDglpi_sockets.itemtype= 'Computer' ) LEFT JOINglpi_networkportsON (glpi_computers.id=glpi_networkports.items_idANDglpi_networkports.itemtype= 'Computer' ) LEFT JOINglpi_networkportethernetsASglpi_networkportethernets_23c902de5f3b180b2aef9e32e62e03a6ON (glpi_networkports.id=glpi_networkportethernets_23c902de5f3b180b2aef9e32e62e03a6.networkports_id) LEFT JOINglpi_socketsASglpi_sockets_4371a472fe73b6d359d0ff27ed58927eON (glpi_networkportethernets_23c902de5f3b180b2aef9e32e62e03a6.id=glpi_sockets_4371a472fe73b6d359d0ff27ed58927e.networkports_id) LEFT JOINglpi_plugin_tag_tagitemsON (glpi_computers.id=glpi_plugin_tag_tagitems.items_idANDglpi_plugin_tag_tagitems.itemtype= 'Computer' ) LEFT JOINglpi_plugin_tag_tagsASglpi_plugin_tag_tags_23e0c5a3c33f9fc3341d81fc24a0e3a5ON (glpi_plugin_tag_tagitems.plugin_tag_tags_id=glpi_plugin_tag_tags_23e0c5a3c33f9fc3341d81fc24a0e3a5.id) LEFT JOINglpi_items_operatingsystemsON (glpi_computers.id=glpi_items_operatingsystems.items_idANDglpi_items_operatingsystems.itemtype= 'Computer' ) LEFT JOINglpi_operatingsystemversionsASglpi_operatingsystemversions_9719987b154aaf3b42c3db32aef59090ON (glpi_items_operatingsystems.operatingsystemversions_id=glpi_operatingsystemversions_9719987b154aaf3b42c3db32aef59090.id)LEFT JOINglpi_operatingsystemeditionsASglpi_operatingsystemeditions_9719987b154aaf3b42c3db32aef59090ON (glpi_items_operatingsystems.operatingsystemeditions_id=glpi_operatingsystemeditions_9719987b154aaf3b42c3db32aef59090.id)LEFT JOINglpi_computermodelsON (glpi_computers.computermodels_id=glpi_computermodels.id) WHEREglpi_computers.is_deleted= 0 ANDglpi_computers.is_template= 0 GROUP BYglpi_computers.idORDER BY INET_ATON(glpi_ipaddresses_937b8c393ea02752d06397f2628684f5.name) ASC LIMIT 0, 15"
Sprawdzam tabelę glpi_ipaddresses i kolumnę name. Mam tam IPv4 i kilka pozycji z IPv6. Czy to te IPv6 mogą coś takiego generować?