Welcome to Geeklog Friday, May 24 2019 @ 03:26 am EDT

Geeklog Forums

1.5.0RC1 throwing errors re: database


Status: offline

cyberzeus

Forum User
Newbie
Registered: 19/04/08
Posts: 6
Hello folks,

Trying a new GL 1.5.0rc1 installation using mySql. I have 1.4 running fine on the same SQL server and I have created a brand new database as follows:

DB name: veguilla_glLedingDb1
DB user: veguilla_glUser1
Server: localhost
Server port: 3306

The error I am getting is:

PHP Formatted Code
Sorry, but the installer could not find the database you specified. Either the database does not exist or you misspelled the name. Please go back and try again.


Any ideas?

Status: offline

mst3kroqs

Forum User
Regular Poster
Registered: 18/10/05
Posts: 78
Location:Cary, NC USA
Can you access the database using phpmyadmin?

Status: offline

cyberzeus

Forum User
Newbie
Registered: 19/04/08
Posts: 6
Yes - definitely...also, other databases on the same server work for stuff like Drupal and Wordpress...and also other GL installation versions but not for 1.5.0RC1

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
Are you using MySQL or MySQL with InnoDB support?

Thanks!
Mark

Status: offline

cyberzeus

Forum User
Newbie
Registered: 19/04/08
Posts: 6
I have tried both - same error both ways...

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Hmm. Can you find the line in the install script that reads
PHP Formatted Code
if (@mysql_select_db($db_name, $db_handle)) {
and remove the @ from the mysql_select_db? Then try again and see if it displays anything of interest on the screen.

bye, Dirk

Status: offline

MattWest

Forum User
Newbie
Registered: 21/03/07
Posts: 4
Location:Buffalo
What OS and web server software are you running?

Status: offline

cyberzeus

Forum User
Newbie
Registered: 19/04/08
Posts: 6
To Dirk: I added the command you mentioned but it did not provide anything.

To MattWest: This is a hosted server by Hostmonster so I am not sure of the EXACT OS but it is a Linux kernel. The Apache ver is Apache 2.x.

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
cyberzeus,

I'm willing to bet that Hostmonster's cPanel is truncating either the DB name or the DB user, double check what cPanel actually created by going into the DB admin area of cPanel. I've used Hostmonster to host a few sites and have run into a similar issue when creating the database user.

Thanks!
Mark

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Any news here? It would help us to know if we need to change something in the install script - or the troubleshooting section, depending on what the actual problem was.

bye, Dirk

Status: offline

cyberzeus

Forum User
Newbie
Registered: 19/04/08
Posts: 6
MEvans,

I thought of that as well but doesn't seem to be the issue here.

To Dirk: No change - issue still exists...

All times are EDT. The time is now 03:26 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content