Previous Thread
Next Thread
Print Thread
Rate Thread
#224065 09/05/2002 4:08 AM
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
hi all
right, i'm trying to install ubbthreads to my server.
It's running apache, and already has mysql installed.
I've looked around various documentation but it's all double-dutch tbh.
I've just re-installed mysql using the command %vinstall mysql as told to do here .
no-where in this process did it ask for a database name.
do i have to create a database? if so, how?
the address to the database server i cant seem to figure out either.
I'm a bit stumped tbh!
I downloaded apache, mysql and php onto myhome computer last night and had it all up and running, but cant seem to figure it out for my webserver.

Sponsored Links
Luka_dup1 #224066 09/05/2002 5:08 AM
Joined: Nov 2000
Posts: 210
Member
Member
Offline
Joined: Nov 2000
Posts: 210
you may find it easier to work with mysql using phpmyadmin available at www.phpmyadmin.net I had some issues with version 2.5(case sensitivity on a windows 2K/IIS server) but I think that the version 2.3 is what I am using on a hosted apache server that I am using with no issues that I am aware of. it makes it easy to work with you databases and create tables(and databases if you are doing this on your own server) etc. I think the command for creating the database is "CREATE DATABASE databasename" this is assuming you are logged in to administer the MYSQL Server.

MercAqua #224067 09/05/2002 5:33 AM
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
i've discovered this is where my problem is, i'm not logged in as an administrator. i have access to the mysql server, i tried to create a database.

this is what i did:

mysql> create database ubbthreads;
ERROR 1044: Access denied for user: '@localhost' to database 'ubbthreads'
mysql>


Also, I tried to use phpmyadmin, but was getting the same problem
is there a config file or something?

Last edited by monkeyra; 09/05/2002 6:31 AM.
Luka_dup1 #224068 09/05/2002 6:50 AM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
How did you run mysql? It looks like you didn't specify a MySQL user.

This shell command runs mysql as MySQL user "root", and prompts you for that user's password:

$ mysql -uroot -p

After you get the database created, I recommend adding another MySQL user for UBB.threads to use, e.g., "ubbthreads_user". Make sure you give the user a password. That user should only have access to the UBB.threads database. I don't remember the command for creating a user, but here's an example of assigning the appropriate grants to the user "ubbthread_user" for the database "ubbthreads_db":

mysql> GRANT Select, Insert, Update, Delete, Create, Drop, Alter ON `ubbthreads_db` TO 'ubbthreads_user'@'localhost'

joeuser #224069 09/05/2002 7:16 AM
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
aha, i never knew that!
thanks david.
right, i've managed to log-in as a root user now, and have created the database ubbthreads.
what i'd like to do is use phpmyadmin for simplicity!
afaik, the only lines to edit on congif.inc.php are these two:

$cfgServers[$i]['user'] = '********'; // MySQL user
$cfgServers[$i]['password'] = '***********'; // MySQL password (only needed
// with 'config' auth_type)


but then when i go to phpmyadmin on my site, i get a pafe full of errors with this at the bottom.
MySQL said:


Access denied for user: 'nickjenk@localhost' (Using password: YES)

Sponsored Links
Luka_dup1 #224070 09/05/2002 7:19 AM
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
wow!
i think i've just solved my problem!
i used the wrong username, should have had 'root' in there instead.
heres hoping. lol.

Luka_dup1 #224071 09/05/2002 7:29 AM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
The only other line of phpMyAdmin's config.inc.php file that I changed was:

$cfgPmaAbsoluteUri = '';

joeuser #224072 09/05/2002 8:27 AM
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
all fixed.
cheers all.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)