Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 03-20-2006, 05:40 AM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile MySQL installation no error but doesn't work.

PP works well on my pc, yesterday I copied the whole site to my laptop.

the laptop also installed the same server,mysql,php.

but pp cannot get the database. shows "connect DB error: Access denied for user :'jdleung@localhost'(Using Password: YES) Cause #2

I checked the database with c:/mysql/bin/mysqlmanager.exe,and found a database "test",no other else displayed though there are some folders in c:/mysql/data/

c:/mysql/data/
---pixelpost
---test
---mambo
---bbs

in my pc I just copy a database folder such as "pixelpost15" to c:/mysql/data/
the database is soon displayed when browse with sqlmanager.exe

the most important is that mysql is running with green light.

I tried to install new pp, it still refused to work.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #2  
Old 03-20-2006, 06:12 AM
Connie
Guest
 
Posts: n/a
did you edit the pixelpost.php in order to have it working with the database at your Laptop?

did you start the server and the database at your laptop before running PP?
Reply With Quote
  #3  
Old 03-20-2006, 06:21 AM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

all run in normal as they run in my pc. and the dir of apache,php,mysql are the same with my pc.

I check that php,apache run well.

I wonder why mysql display only a database "test", I think here is the solution.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #4  
Old 03-20-2006, 06:29 AM
Connie
Guest
 
Posts: n/a
you should either create a new database or use "test" as databasename in pixelpost.php

Quote:
$pixelpost_db_pixelpost = "test"; // database
Reply With Quote
  #5  
Old 03-20-2006, 08:07 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Did you put correct access rights for user 'jdleung' connecting from host 'localhost' to DB 'test'?
After this you must to remember to flush MySQL server.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #6  
Old 03-20-2006, 10:03 AM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

Quote:
Originally Posted by GeoS
Did you put correct access rights for user 'jdleung' connecting from host 'localhost' to DB 'test'?
After this you must to remember to flush MySQL server.

GeoS, you're right. I test the username and password: "root" and "".
it works.

so the winmysqladmin cannot show the database too.
but I'm confused, the username and password in my.ini are not the above.

how to change it?

Thx.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #7  
Old 03-20-2006, 01:17 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Try to download MySQL Administrator. There is option for managing users - their logins, passwords, access rights, additional notes and much more.

Other way is to execute SQL statements:
http://dev.mysql.com/doc/refman/5.0/en/create-user.html
http://dev.mysql.com/doc/refman/5.0/en/grant.html
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #8  
Old 03-20-2006, 06:31 PM
eon's Avatar
eon Offline
pixelpost guru
 
Join Date: Nov 2005
Location: Ned
Posts: 280
Send a message via ICQ to eon
Or install PHPMyAdmin. http://www.phpmyadmin.net/home_page/
__________________
Northing.nl
Reply With Quote
  #9  
Old 03-21-2006, 02:01 AM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

Quote:
Originally Posted by eon
Thanks. phpmyadmin is the simple way.

but I'm still confused why the username and password don't match them in my.ini.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #10  
Old 03-21-2006, 11:33 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
my.ini in defaul contains password and login which you specified at installation process or root without password. There is no connection with additional users which you creat later.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 12:42 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs