LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2010, 07:08 PM   #1
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
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?
 
Old 02-26-2010, 08:00 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
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 ?

Last edited by smoker; 02-26-2010 at 08:04 PM.
 
1 members found this post helpful.
Old 02-26-2010, 08:16 PM   #3
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by smoker View Post
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.
 
Old 02-26-2010, 08:24 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql is in /var/lib/mysql/[database]....how to transfer to my username? RMLinux Linux - Newbie 14 11-30-2008 11:35 PM
How can i copt the MYSQL Database to a other server (Database) halvorls Linux - Server 3 07-27-2008 10:19 PM
LXer: Visual MySQL Database Design in MySQL Workbench LXer Syndicated Linux News 0 06-12-2008 08:00 PM
mysql - can't access mysql database as root yogaboy Linux - Software 5 12-28-2006 07:58 AM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration