Mehr Informationen über das Paket wordpress-3.6.1-2.mga4.noarch
WordPress is a database driven blogging Web application.
Once this package is installed, there are a few configuration items which need
to be performed before the blog is usable. First, you need to establish a
username and password to connect to your MySQL database as, and make both
MySQL and WordPress aware of this. Let's start by creating the database and the
username / password inside MySQL first:
$ mysql -u root -p
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressuser"@"localhost"
-> IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> EXIT
Bye
$
This has created an empty database called 'databasename', created a user named
'wordpressuser' with the choosen password, and given the 'wordpress' user total
permission over the 'databasename' database. Obviously, you'll want to select a
different password, and you may want to choose different database and user
names depending on your installation. The specific values you choose are
not constrained.
Once that's done, open a web browser and go to: http://localhost/wordpress/
in den Terminal kopiert und Enter, und schon geht's nicht weiter.$ mysql -u root -p
dandelion hat geschrieben:Was mache ich denn wohl falsch? Habe einfach die erste Zeilein den Terminal kopiert und Enter, und schon geht's nicht weiter.$ mysql -u root -p
dandelion hat geschrieben:Habe einfach die erste Zeilein den Terminal kopiert und Enter, und schon geht's nicht weiter.$ mysql -u root -p
mysql -u root -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast