Get the Flash Player to see the slideshow.

May 03 2007

Hello world!

Published by Zet at 10:49 am under IT

Welcome to WordPress. This is my first post. Edit or delete it, then start blogging!

Am pierdut 3 ore ca sa fac “chestia” asta sa mearga. Se pare ca faimoasa instalare in 5 minute a lui WP, nu e chiar asa, cel putin daca vrei sa folosesti ultimele versiuni de WP, PHP si MySQL.

Ceva s-a schimbat de la versiunea 4 la 5 de MySQL, ceva ce foloseste o noua metoda de stocare a parolelor. Dupa ore de cautare si incercari succesive, iata raspunsul:

Versiuni instalate: PHP 5.2.1, MySQL 5.0.37, WordPress 2.1.3

  1. Dupa instalarea MySQL, verificati configuratia fisierului My.ini, in special urmatoarele valori: [mysqld], port=3306 (e bine sa nu-l modificati: cu toate ca in cazul modificarii, serverul aspeapta conexiuni pe noul port, sunt probleme), basedir=”C:/Program Files/MySQL/MySQL Server 5.0/”, default-character-set=utf8, default-storage-engine=INNODB. Ajustati aceste valori in functie de instalarea voastra. Orice modificare a parametrilor din My.ini trebue insotita de un restart al serviciului (“net stop mysql | net start mysql”).

  2. Testati conectivitatea la baza prin “telnet localhost 3306″

  3. Default, contul de administrare este “root”. Incercati conectarea la MySql prin “mysql -u root -p”. Dupa introducerea parolei, va apare promptul “mysql>” Fiecare comanda este terminata prin “;”

  4. Creati baza de date wordpress: “create database wordpress;”

  5. Creati userul pentru access: “create user ‘nume_user_dorit’@'localhost’ identified by ‘parola_dorita’;”

  6. Modificati modul de stocare a parolei in “old-style”: “set password for ‘nume_user_dorit’@'localhost’ = OLD_PASSWORD(‘parola_dorita’);”

  7. Adaugati userul nou creat in lista de accese a bazei wordpress: “grant all privileges on wordpress.* to ‘nume_user_dorit’@'localhost’ identified by ‘parola_dorita’;”

  8. Actualizarea noilor privilegii: “flush privileges;”

  9. Iesirea din consola mysql se face prin “exit”

  10. Dezarhivati WP in radacina site-ului vostru

  11. Redenumiti fisierul wp-config-sample.php in wp-config.php

  12. Editati fisierul redenumit sa reflecte noile valori:

  • define(‘DB_NAME’, ‘wordpress’); // The name of the database
  • define(‘DB_USER’, ‘nume_user_dorit’); // Your MySQL username
  • define(‘DB_PASSWORD’, ‘parola_dorita’); // …and password
  • define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

Cam asta a fost. Sa-mi spuneti daca va ajuta un ghid cu capturi de ecran.

Ura!

  • Delicious
  • StumbleUpon
  • Digg
  • Technorati Favorites
  • Slashdot
  • Sphere
  • Google Bookmarks
  • Windows Live Favorites
  • Yahoo Bookmarks
  • Share/Bookmark

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Blog Traffic Exchange Related Websites
  • Wordpress Backup OptionsWordpress Backup Wordpress Backup is an essential plugin for all Wordpress blog administrators by the Blog Traffic Exchange. It performs regular backups of your upload (images) current theme, and plugin directories. Backup files are available for download and optionally emailed to a specified email. Don't get caught without a recent backup of......
  • Top 5 Benefits of Using WordPress For Your Website If you have never built a website before, one of the quickest and easiest ways to get your first domain live and operational in only minutes is to install WordPress on your website. WordPress is a blogging platform that allows you to have a pre-built website for free that......
  • newspaperAdvantages of Using Wordpress to Publish a Newspaper Blog If you want to have a blog or website that's in newspaper format, Wordpress is the ideal medium. There are many other services you could use, but because Wordpress is so user friendly it's easy to set up your blog to look like a newspaper (or a website, or whatever......

No responses yet

Trackback URI | Comments RSS

Leave a Reply