Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Database Restore Issue on XAMPP localhost

    I have a XAMPP localhost set up and was attempting to the database backup created by my site's Database Backup tool. I have never seen this error before. Here is the error I am getting:

    Code:
    MySQL said: Documentation
    
    #1273 - Unknown collation: 'utf8mb4_0900_ai_ci'
    ????

  2. #2
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Database Restore Issue on XAMPP localhost

    I did find one reference that recommends opening the file in a text editor and modifying the entries.

    https://tecadmin.net/resolved-unknow...b4_0900_ai_ci/

    I did open the SQL file in Notepad++ and that collation is used in numerous places throughout the file.
    Last edited by g2ktcf; 23 Oct 2021 at 11:38 PM.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Database Restore Issue on XAMPP localhost

    May want to provide more information about your XAMP setup, while this site is predominantly for the care of the eCommerce software and database, there may be more assistance available to help.

    Right now it looks like either a table or portion of the database has been defined to a collation that just doesn't exist or to one that is not supported by the installed software... in either case it should be resolvable.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Database Restore Issue on XAMPP localhost

    Quote Originally Posted by mc12345678 View Post
    May want to provide more information about your XAMP setup, while this site is predominantly for the care of the eCommerce software and database, there may be more assistance available to help.

    Right now it looks like either a table or portion of the database has been defined to a collation that just doesn't exist or to one that is not supported by the installed software... in either case it should be resolvable.
    phpAdmin 5.1

    Server: 127.0.0.1 via TCP/IP
    Server type: MariaDB
    Server connection: SSL is not being used Documentation
    Server version: 10.4.21-MariaDB - mariadb.org binary distribution
    Protocol version: 10
    User: root@localhost
    Server charset: UTF-8 Unicode (utf8mb4)

    XAMPP for Windows 7.4.25

    Apache/2.4.51 (Win64) OpenSSL/1.1.1l PHP/7.4.25
    Database client version: libmysql - mysqlnd 7.4.25
    PHP extension: mysqli Documentation curl Documentation mbstring Documentation
    PHP version: 7.4.25

  5. #5
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Database Restore Issue on XAMPP localhost

    Okay, its a new install, so I can always just redo the whole thing. I followed only half the info in the above link replacing all 120 instances of utf8mb4_0900_ai_ci with utf8mb4_general_ci.

    The import seem to go without a hitch. The data seems intact. Does anyone know the specifics between the two different collations?

    Thanks
    Chris

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,833
    Plugin Contributions
    31

    Default Re: Database Restore Issue on XAMPP localhost

    utf8mb4_0900_ai_ci
    Never seen that before....probably because no it is not in a Xampp setup at the moment, so yes it probably would complain when trying to import a database that specifies it.

    No doubt Xampp will add this in the near future and you wont have a problem.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 

Similar Threads

  1. blank zc_install page at localhost xampp
    By LadyoftheCave in forum General Questions
    Replies: 4
    Last Post: 22 Dec 2020, 07:36 PM
  2. v154 Xampp Localhost Plugin Install
    By resqjoc in forum Installing on a Windows Server
    Replies: 0
    Last Post: 12 Dec 2015, 01:56 AM
  3. Can't restore database after moving from localhost
    By Annie_zaz in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 16 Sep 2013, 11:48 AM
  4. Installing on XAMPP localhost--help please !
    By yli1981 in forum Installing on a Windows Server
    Replies: 2
    Last Post: 17 Sep 2008, 06:18 PM
  5. Installing on XAMPP localhost
    By boba in forum Installing on a Windows Server
    Replies: 1
    Last Post: 2 Sep 2008, 06:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg