LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mysql database (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-database-791843/)

johnh10000 02-26-2010 06:08 PM

mysql database
 
hi folks, i am not new to linux, but am to mysql.

i run a website, on which i decided to put vpet, a virtual pet php thing. now in the instalation of this thing, it did not ask for an admin password. but it did come with a database. so i'm guessing the login is hidden in there.


heres the question, i have phpmyadmin. how the heck do i read the database?

smoker 02-26-2010 07:00 PM

Are you saying you installed it and it works but you didn't give any user names or passwords ?

Or haven't you got that far ?

Here's a howto but I don't know if it's your version.
http://www.forumcraze.com/forums/scr...-pet-game.html

Basically, you use your web hosting control panel to create a database with a user name and password, then using phpmyadmin, import the .sql file you get with vpet.
Change the relevant config file to reflect your server and database.
Login to the pet control panel and set it up.

It can't create a database itself because it doesn't know your database user name and password.

You do have a database username and password for your server ?

johnh10000 02-26-2010 07:16 PM

Quote:

Originally Posted by smoker (Post 3878346)
Are you saying you installed it and it works but you didn't give any user names or passwords ?

Or haven't you got that far ?

Here's a howto but I don't know if it's your version.
http://www.forumcraze.com/forums/scr...-pet-game.html

Basically, you use your web hosting control panel to create a database with a user name and password, then using phpmyadmin, import the .sql file you get with vpet.
Change the relevant config file to reflect your server and database.
Login to the pet control panel and set it up.

It can't create a database itself because it doesn't know your database user name and password.

You do have a database username and password for your server ?

Cheers, I found that one to, and one or to others running the game. The defulat login and password is err admin admin ! changed it now of course.

Oh I had made a user, but it didn't off me a chance for admin, but it was in the DB, but that page and my docs told me what it was too :(

cheers though

mine is at http://vpet.isa-geek.org

usual url http://tux.isa-geek.org

I haven't done much with it yet, but wathc this space or that so to speak.

on another topic, you don't know of any decent php galleries do you? don't say coppermine i hate it. i want something so i can upload fromm afar, and add descriptions and stuff.

smoker 02-26-2010 07:24 PM

Quote:

on another topic, you don't know of any decent php galleries do you? don't say coppermine i hate it. i want something so i can upload fromm afar, and add descriptions and stuff.
No sorry.
Glad you managed to log in though.

cheers

Alan


All times are GMT -5. The time now is 09:49 AM.