How To Change MySQL Password Come cambiare la password di MySQL

April 20th, 2008 20 aprile 2008

Let’s look at all the ways to change MySQL password, for root and other users: Diamo un'occhiata a tutti i modi di cambiare la password di MySQL, per l'utente root e gli altri utenti:

Read more (78 words) » Per saperne di più (78 parole) "

How To Use AWK To Simplify Scripting: Multi-Database Backup Example Come usare awk per semplificare lo scripting: multi-esempio di backup del database

April 20th, 2008 20 aprile 2008

AWK is an extremely versatile and powerful language for processing files and text data. AWK è estremamente versatile e potente linguaggio per la trasformazione di file e dati di testo. Often you can use awk to perform complex tasks on Unix / Linux / Mac OS command line which would otherwise take a full-fledged programming effort. Spesso si può usare awk per l'esecuzione di compiti complessi su Unix / Linux / Mac OS riga di comando che altrimenti prendere un pieno titolo sforzo di programmazione. AWK is great for log processing, creating custom scripts which will then be executed and more. AWK è grande per i log di trasformazione, la creazione di script personalizzati che verranno poi eseguiti e altro ancora. For example I wanted to create a backup of all of my MySQL databases, each to a separate file after compressing them with gzip (maximum compression). Ad esempio ho voluto creare un backup di tutti i miei basi di dati di MySQL, ciascuna in un file separato dopo comprimere con gzip (massima compressione). I already created a list of databases on my MySQL server is a file named databases (how original!). Ho già creato un elenco delle basi di dati sul mio server MySQL è un file denominato basi di dati (come originale!). Here is the awk script which processes the file and creates another file (named database_backup) which contains commands to backup all the databases as specified above. Qui è la awk script che elabora il file e crea un altro file (il nome database_backup), che contiene comandi per il backup di tutti i dati come sopra specificato.
Read more (172 words) » Per saperne di più (172 parole) "

MySQL Tip: How To Check, Repair & Optimize All Tables in All Databases MySQL Suggerimento: come controllare, riparare e ottimizzare tutte le tabelle in tutti i database

April 20th, 2008 20 aprile 2008

Here is a simple command to auto repair, check and optimize all the tables in all databases running on a MySQL server : Qui è un semplice comando per auto riparare, controllare e ottimizzare tutte le tabelle di cui tutti i database in esecuzione su un server MySQL:

Read more (149 words) » Per saperne di più (149 parole) "

MySQL High End Features Should be Closed Source & for Paid Customers Only MySQL caratteristiche di fascia alta dovrebbe essere closed source e per gli abbonamenti a pagamento solo i clienti

April 18th, 2008 18 aprile 2008

I am serious. Io sono gravi. While MySQL is a great open source database, I have full respect to Sun’s plan to provide high-end features for paying customers only. Mentre MySQL è un grande database open source, ho pieno rispetto al piano di Sun a fornire high-end per caratteristiche clienti paganti. After all they are in the business of making money and not philanthropy, last I checked. Dopo tutto sono le attività di fare soldi e non filantropia, la scorsa ho controllato.

Read more (135 words) » Per saperne di più (135 parole) "

MySQL SQL Delete Notes MySQL SQL eliminare le note

November 27th, 2007 27 novembre 2007

To delete duplicates from a MySQL database table I normally copy the duplicate data first to a temporary table and then use the copied id’s to delete from the original table. Per eliminare i duplicati da un database MySQL tabella I normalmente copiare il duplicato dei dati prima di una tabella temporanea e quindi utilizzare il copiato id's per eliminare dalla tabella originale.

Read more (140 words) » Per saperne di più (140 parole) "

MySQL: Creating Users & Granting Access Simplified MySQL: Creazione di utenti e di concedere l'accesso semplificato

November 23rd, 2007 23 novembre 2007

In MySQL you can use the GRANT statement to create users and assign privileges to them at the same time. In MySQL è possibile utilizzare la concessione dichiarazione utenti di creare e assegnare i privilegi a loro allo stesso tempo. It is extremely convenient and beats create user or directly hacking the mysql.user table. E 'estremamente conveniente e batte utente o creare direttamente hacking mysql.user la tabella. I learned few things about GRANT the hard way. Ho imparato alcune cose su CONCESSIONE il modo difficile.

Read more (182 words) » Per saperne di più (182 parole) "

6 MySQL Database Replication Tips 6 database MySQL replica Suggerimenti

November 18th, 2007 18 novembre 2007

Replicating on two or more MySQL master database servers Replicando a due o più master MySQL database server

Read more (112 words) » Per saperne di più (112 parole) "

Monitoring MySQL Queries Using Bash Script Monitoraggio mysql query utilizzando script bash

November 18th, 2007 18 novembre 2007

Monitoring MySQL queries is a favorite pastime of MySQL administrators especially for performance reasons. Monitoraggio query MySQL è un passatempo preferito di MySQL amministratori soprattutto per motivi di prestazioni. Here is a simple bash script to monitor long running MySQL queries in realtime using the ubiquitous ’show processlist’. Qui è un semplice script bash per monitorare a lungo MySQL in esecuzione query in tempo reale utilizzando l'onnipresente 'mostrare PROCESSLIST'. The best part about this script is that you can use it to log your queries over time for later evaluation. La parte migliore di questo script è che si può utilizzare per accedere alle vostre domande nel corso del tempo per la successiva valutazione.
Read more (213 words) » Per saperne di più (213 parole) "

Solution: MySQL Master-Master Replication Fails With ERROR 1200 (HY000) on Master Soluzione: MySQL Maestro-Master Replication fallisce con ERRORE 1200 (HY000) sul Master

November 16th, 2007 16 novembre 2007

When you try MySQL master-master replication with two (or more) servers you may often find that in the process of configuring the original master to also act as a slave server (start slave), it fails with the following error: Quando si tenta di MySQL master-master replica con due (o più) server si può trovare spesso che nel processo di configurazione del master originale a fungere anche un server slave (start slave), non con il seguente errore:

mysql> start slave; MySQL> inizia schiavo;
ERROR 1200 (HY000): The server is not configured as slave; fix in config file or with CHANGE MASTER TO ERRORE 1200 (HY000): Il server non è configurato come slave; correzione nel file di configurazione o con MASTER DI CAMBIAMENTO

Read more (97 words) » Per saperne di più (97 parole) "

Improving Site Performance… Migliorare le prestazioni del sito…

September 24th, 2007 24 settembre 2007

Uptime sito I have significantly improved our site performance in the last month. Ho migliorato in maniera significativa le prestazioni del nostro sito negli ultimi mesi. I did all the site optimization steps by the book, found a lot of new things and fine-tuned existing ideas. Ho fatto tutti i passi di ottimizzazione del sito da parte del libro, trovato un sacco di cose nuove e perfezionate le idee già esistenti. There are a couple of good ideas I am yet to implement like using Lighttpd server instead of Apache 2. Ci sono un paio di buone idee sono ancora ad attuare lighttpd utilizzando come server invece di Apache 2.

Read more (183 words) » Per saperne di più (183 parole) "