Member
Member
Bodger1946   2006-07-12, 15:37
#1

Can someone tell me please, what part of the equation am i susposed to be editing?
$conf['mysql_user'] = "user";
is it the bit in the $conf[ ] or the bit after = "user"

forgive me, I am very new to this codeing lark

http://bodgers-lair.com/bodgerspics

Member
Member
Rygaard   2006-07-12, 16:07
#2

You are supposed to alter the word within the "" (user) to to the login to your MySQL database. For istance:
$conf['mysql_user'] = "DB_loginname";

Hope this is helpful

Member
Member
Bodger1946   2006-07-12, 17:00
#3

great - thanks - done it
now i cant find the mysql database. i had it a moment ago.
its name is BodgersPics and its on myql14.my_host.com , what is the box asking for me? is it:
$conf['mysql_database'] = "bodgerspics.mysql14.my_host.com";
because that what I put and it dont like it

Member
Member
Bodger1946   2006-07-12, 17:31
#4

I took out the mysql14...... melarky and it still dont work!

Member
Member
Bodger1946   2006-07-12, 22:32
#5

For those of you that are monitoring this thread.
in view of the fact that when i run the setup.php i am getting "MySQL Error: Could not select the database - it would sound like a fault in the database its self.
If that is the case what can i do about it - load the back up or drop it and start over?
Thanks

Member
Member
Bodger1946   2006-07-13, 07:20
#6

hi all,
this morning I got this message as I attempted to log on:
MySQL Query ( SELECT *, (date + 0) AS date FROM albums WHERE folder='2006 0524 010 Windsor Castle' LIMIT 1; ) Failed. Error: No database selected
Does this indicate a corrupt database or a miss configured config file?
[my file names consist of "date"+"month"+"day"+"a sequential code"+"location"

Member
Member
Bodger1946   2006-07-13, 12:38
#7

Eventually I cleared out the entire zenphotos folder and reinstalled zenphotos and this time it took like a duck to water - there must have been a remnant left over from the previous install that was hooking the system.
Many thanks to those who helped - i only have to figure out why I now get a "you don't have an index file in the zen-photo folder!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.