Loading...
 
Skip to main content

Architecture / Installation


Getting/setting MYSQL user/password

This may not be precisely a problem in tw, but it's where I'm stuck:

I started to install TikiWiki under a Breezy Badger/Ubuntu 5.10, installed the required software (the last being to unpack the Sirius archive). Then I went to access tiki-install.php . After getting a blank page, I bumped up the PHP memory limit to 64M and rebooted as less trouble than manually tracking down and reinstarting I-don't-know-what.

Now it says I don't have a database connection. In the instructions, it gave a sample username/password as admin/admin, which got a blank screen earlier and doesn't work now:

Access denied for user: 'admin@localhost' (Using password: YES)

How can I change, set, or find out the MYSQL username/password that has access to the "tiki" database? (I believe I created it on the command line from the root account.) The point I'm stuck on now is getting a connection to the database.

Thank you,

++ Jonathan Hayward, jo...@po...
    • To see an award-winning website with stories, essays, artwork,
    • games, and a four-dimensional maze, why not visit my home page?
    • All of this is waiting for you at http://JonathansCorner.comQuestion

> This may not be precisely a problem in tw, but it's where I'm stuck:
>
> I started to install TikiWiki under a Breezy Badger/Ubuntu 5.10, installed the required software (the last being to unpack the Sirius archive). Then I went to access tiki-install.php . After getting a blank page, I bumped up the PHP memory limit to 64M and rebooted as less trouble than manually tracking down and reinstarting I-don't-know-what.
>
> Now it says I don't have a database connection. In the instructions, it gave a sample username/password as admin/admin, which got a blank screen earlier and doesn't work now:
>
> Access denied for user: 'admin@localhost' (Using password: YES)
>
> How can I change, set, or find out the MYSQL username/password that has access to the "tiki" database? (I believe I created it on the command line from the root account.) The point I'm stuck on now is getting a connection to the database.

Since I posted this, I found that I had a default username and password, and was able to find out how to set it. I would strongly encourage expanding the installation instructions to answer the question, "What if I have a package installed database and don't know an appropriate username and password because I did not create them personally?"

(And answer a question they might not think to ask: "How do I secure the 'everybody has administrative access' my distribution was cruel enough to give me?")

++ Jonathan Hayward, jo...@po...
    • To see an award-winning website with stories, essays, artwork,
    • games, and a four-dimensional maze, why not visit my home page?
    • All of this is waiting for you at http://JonathansCorner.comQuestion