로컬 개발 설정으로 WAMP에서 WPN-XM으로 전환합니다. 나는 그것이 MySQL 대신 MariaDB를 사용한다는 것을 배웠다. 서브가 설정되고 MariaDB가 실행 중입니다.새 MariaDB 데이터베이스에 SQL 파일을 가져 오는 중 오류가 발생했습니다.
이전 WAMP DB를 SQL 파일로 내보냈습니다. WPN-XM의 phpmyadmin을 사용하여 db를 가져올 때 MYSQL이 사라지는 빨간색 오류가 발생합니다. ??? 나는 또한
Query OK, 7 rows affected (0.10 sec)
처럼이 있어야 무엇을 많이 얻을 /myfile.sql을하고는 수입하지만
ERROR 1231 (4200 at line 31613 in file 'c:/myfile.sql: variable 'character_set_client' can't be set to a value of 'null'
ERROR 1075 (42000) at line 31476 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
ERROR 1075 (42000) at line 31481 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
Query OK, 0 rows affected (0.05 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1075 (42000) at line 31491 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
ERROR 1075 (42000) at line 31496 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
ERROR 1075 (42000) at line 31501 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
ERROR 1075 (42000) at line 31506 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
ERROR 1075 (42000) at line 31511 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
ERROR 1075 (42000) at line 31516 in file: 'c:\nycgmc-dev.sql': Incorrect table definition; there can be only one auto column and it must be defined as a key
처럼 많은 오류를 얻을 : 그래서
나는 시도하고 MySQL의 클라이언트 소스 C에서 가져 오기
phpMyAdmin에서 볼 때 모든 테이블을 볼 수 있지만 대부분은 오류로 인해 콘텐츠가 없음을 의미하는 바이트입니다.
저는 MySQL과 MariaDB가 거의 같았고 SQL 파일을 다른 것으로 가져올 수 있어야한다고 생각했습니다. 왜 간단한 수출입과 관련하여 오류가 있습니까?
도움을 주시면 감사하겠습니다.
좋아요, 나는 인터넷 검색을 통해 MySQL 5.36에서 새로운 MariaDB 5.536으로 갈 수 없다는 것을 알았습니다. 버전이 동일해야합니다. 그들은 동일한 버전이어야합니다 또는 정의는 다를 것입니다. 그래서 내가 실수를하는거야. 만든다. 그래서 더 좋은 아이디어가 없다면, WAMP의 MYSQL을 5.5.36으로 업그레이드하는 방법을 알아 내려고합니다. –
나는 항상 SQL이 표준이라고 생각하고 한 버전에서 다른 버전으로 데이터를 이동할 수 있다고 생각합니다. –
그리고 나는 실제로 MySQL 5.5.16에서 MariaDB 5.5.36으로 갈 예정입니다. 다른 곳에서는 WAMP가 5.5.16 버전으로 보입니다. 어떻게 일어 났는지 확신 할 수 없습니다. 너무 많은 오류가 발생하지 않도록 충분한 버전이 보입니다. –