Resultaten 16 tot 23 van de 23
Pagina 2 van de 2 Eerste 1 2
Geen

Onderwerp: linux mysql

  1. #16
    linux mysql
    geregistreerd gebruiker
    94 Berichten
    Ingeschreven
    08/04/09

    Locatie
    Nederland

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked



    Thread Starter
    nou dan maar op deze

    To Import MySQL Databases via SSH

    Open the .SQL file in a text editor to ensure it is formatted to use the correct database. There should be a use database command at the top, and it should reference the database that is receiving the imported data. If this command is not included, you can add or use it once you log in to MySQL.
    Log in to SSH as the root user. If you do not know how to do this, see How do I access MySQL using SSH?
    To log in to MySQL, type mysql -u username -p Enter password: password (where username and password are your database user name and password).
    If you did not include the use database command in the .SQL file, select the target database of the import. Do this by typing use database_name; and then press Enter.
    Type SOURCE /path/to/sql/file.sql, and then press Enter.
    Monitor the running import log to check for errors.
    To confirm the data was imported correctly, type show tables; and then press Enter.
    Type select * from table; and then press Enter. Your imported MySQL database tables display.

  2. #17
    linux mysql
    geregistreerd gebruiker
    94 Berichten
    Ingeschreven
    08/04/09

    Locatie
    Nederland

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked



    Thread Starter
    hoi,

    wilde ff kijken of het iid werkt via webadmin maar krijg nu deze outmelding bij webadmin

    Fout: token niet hetzelfde

    Citaat Oorspronkelijk geplaatst door Peter Kroon Bekijk Berichten
    nou dan maar op deze

    To Import MySQL Databases via SSH

    Open the .SQL file in a text editor to ensure it is formatted to use the correct database. There should be a use database command at the top, and it should reference the database that is receiving the imported data. If this command is not included, you can add or use it once you log in to MySQL.
    Log in to SSH as the root user. If you do not know how to do this, see How do I access MySQL using SSH?
    To log in to MySQL, type mysql -u username -p Enter password: password (where username and password are your database user name and password).
    If you did not include the use database command in the .SQL file, select the target database of the import. Do this by typing use database_name; and then press Enter.
    Type SOURCE /path/to/sql/file.sql, and then press Enter.
    Monitor the running import log to check for errors.
    To confirm the data was imported correctly, type show tables; and then press Enter.
    Type select * from table; and then press Enter. Your imported MySQL database tables display.

  3. #18
    linux mysql
    geregistreerd gebruiker
    94 Berichten
    Ingeschreven
    08/04/09

    Locatie
    Nederland

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked



    Thread Starter
    hoe krijg tijdens export dit foutmelding.

    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that correspo nds to your MySQL server version for the right syntax to use near '<script></script><p>E RROR: Maximum execution time of 300 seconds exceeded (Util.' at line 244

  4. #19
    linux mysql
    Programmeur / Hoster
    3.952 Berichten
    Ingeschreven
    20/06/06

    Locatie
    Wijlre

    Post Thanks / Like
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    647 Berichten zijn liked


    Naam: John Timmer
    Bedrijf: SystemDeveloper.NL
    Functie: Eigenaar
    URL: www.systemdeveloper.nl
    KvK nummer: 14083066
    View johntimmer's profile on LinkedIn

    'Als je die Max. Execution time exceeded' krijgt als je in een ssh shell het 'mysql' commando gebruikt, dan kun je eens proberen om je sql dump te splitsen in meerdere, kleinere bestanden en deze met:

    $ mysql-u USER -pPASSWORD DATABASE < deel1.sql
    $ mysql-u USER -pPASSWORD DATABASE < deel2.sql
    $ mysql-u USER -pPASSWORD DATABASE < deelN.sql

    in te lezen, waarbij elk deel binnen 5 minuten gedaan kan worden.
    SystemDeveloper.NL - 64BitsWebhosting.EU : Softwareontwikkeling & Hosting freaks

  5. #20
    linux mysql
    ICTFrameworks
    1.584 Berichten
    Ingeschreven
    05/07/03

    Locatie
    's-Gravenzande

    Post Thanks / Like
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    138 Berichten zijn liked


    Bedrijf: ICT Frameworks
    KvK nummer: 52425762

    Citaat Oorspronkelijk geplaatst door Peter Kroon Bekijk Berichten
    iid de xjes wel met mijn info
    ook username en password en dbname moet je vervangen door de juiste gegevens

  6. #21
    linux mysql
    ISPConnect
    3.772 Berichten
    Ingeschreven
    10/01/07

    Locatie
    Nieuwegein

    Post Thanks / Like
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    134 Berichten zijn liked


    Naam: Marin Heideman
    Bedrijf: DigiState B.V.
    URL: http://www.digistate.nl
    ISPConnect: Lid
    View mheideman's profile on LinkedIn

    Ik weet iet wat je allemaal aan het doen bent maar zo moeilijk moet het allemaal niet zijn. Gebruik het commando van systemdeveloper, via de shell moet je de database wel als 1 deel kunnen iporteren. Belangrijk is dat je het juiste username en password opgeeft in het commando.
    Marin Heideman (DigiState B.V.)

  7. #22
    linux mysql
    geregistreerd gebruiker
    94 Berichten
    Ingeschreven
    08/04/09

    Locatie
    Nederland

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked



    Thread Starter
    hoi,

    ik heb uiteindelijk database gesplits 10 bestanden van 100 mb ging goed laaste bestand van 6 mb krijg ik telkens fout

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<script></script><p>ERROR: Maximum execution time of 300 seconds exceeded (Util.' at line 244

    ik heb volgende gedaan, in plesk onder het domeinn php config volgende waardes verandert:


    max_execution_time
    Standaard
    Geef een aangepaste waarde op 0

    De maximale tijd in seconden dat een script kan worden uitgevoerd voordat deze wordt afgebroken.

    en de volgende config regel toegevoegd in. $cfg['ExecTimeLimit'] = 70000;

    usr/local/psa/admin/htdocs/domains/databases/phpmyadmin in the file config.sample.inc.php

    maar telekns krijg ik het foutmelding http mysql alles restart geen effect

  8. #23
    linux mysql
    geregistreerd gebruiker
    868 Berichten
    Ingeschreven
    27/01/10

    Locatie
    Nieuwegein

    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    97 Berichten zijn liked


    Naam: Sebastiaan
    Registrar SIDN: nee
    Ondernemingsnummer: nvt

    Citaat Oorspronkelijk geplaatst door patrickekkel Bekijk Berichten
    Om een MySQL databse te exporteren

    mysqldump -u username -p database_name > dumpfile.sql

    Om een MySQL database te importeren

    mysql -u username -p database_name < dumpfile.sql


    en anders http://sql-splitter.soft112.com/
    Dit is niet correct.

    Tussen -u username moet wel een spatie. Maar tussen de -ppassword geen spatie.

    Dus:

    mysql -u mysqlusername -pmysqlpassword database < dump.sql


    Sorry... Er was al een pagina 2 waarop dat al stond...
    Laatst gewijzigd door golden; 06/11/14 om 14:43.

Pagina 2 van de 2 Eerste 1 2

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2021 Webhostingtalk.nl.
Web Statistics