Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Connection to database error  (Read 5354 times)

0 Members and 1 Guest are viewing this topic.

coreylat

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Connection to database error
« on: January 10, 2008, 09:40:06 pm »

I am using Geocities Pro. After entering all of my info, I got this error:


mySQL Error: Access denied for user 'coreylat'@'localhost' to database 'mysql' on query ' CREATE TABLE IF NOT EXISTS cpg14x_sessions ( session_id varchar(40) NOT NULL default '', user_id int(11) default '0', time int(11) default NULL, remember int(1) default '0', PRIMARY KEY (session_id) ) TYPE=MyISAM COMMENT='Used to store sessions''

for configuration I have:

MySQL Host: mysql
MySQL Database Name: mysql
MySQL Username: coreylat
MySQL Password: *******
MySQL table prefix: cpg14x_


what am i doing wrong? Thanks for the help, guys!
Logged

Nibbler

  • Guest
Re: Connection to database error
« Reply #1 on: January 10, 2008, 11:05:24 pm »

I'm fairly sure 'mysql' is not the correct database name. Get the correct details from your host.
Logged

coreylat

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Connection to database error
« Reply #2 on: January 10, 2008, 11:33:57 pm »

From this site:

Quote
Your database, called mysql, will be created automatically. Please do not modify or delete this database, which will you'll use to administrate your MySQL database environment.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9096
  • aka Frantz
    • Ma galerie
Re: Connection to database error
« Reply #3 on: January 11, 2008, 07:18:52 am »

Yes, but mysql in propably not your Mysql hostname
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Connection to database error
« Reply #4 on: January 11, 2008, 07:32:42 am »

The database "mysql" probably is meant as a repository to contain all administrative data (users, permissions) of subsequent databases that you need to create. As suggested above: ask your webhost for support. This isn't something that we could possibly help you with, as we can only help you what doesn't work. We can't tell you what will work. This is not a matter of guessing, but knowing!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.