Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Yorkshirekid

193 posts

Master Geek


#126785 19-Jul-2013 16:28
Send private message

I've looked for a specific area to put this and can't find one so sorry if this is incorrect. Mod plz move if necessary.
==========================================================================
So, I've made a website with php pages and a mysql dbase. Using Xampp on my PC all is good. I have another site already running on the net. I wanted to test it online and so I made a folder and dumped all my local files into that with Fzilla. Then I wrote the address into the browswer and got what i expect - a dbase error. Here it is.....
+++++++++++++++++++++++++++++++++++++++++++++++++++
Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home/masterto/public_html/aNewStite/www/classes/dbClass.php on line 9
Error connecting to the database
+++++++++++++++++++++++++++++++++++++++++++++++++++

This is my config.php content:
<?php
define('DBHOST', 'localhost');
define('DBUSER', 'root');
define('DBPASS', '');
define('DBNAME', 'banana');
?>

I'm trying to leap from html to php but I can't get my head around this dbase setting.

Can anyone advise please - thank you

Create new topic
sheldonlendrum
Sheldon
120 posts

Master Geek

Lifetime subscriber

  #862293 19-Jul-2013 17:46
Send private message

Your live MySQL connection information will be different than your local environment. You will need to set up a database on your production server and set a secure user password specific for each and every database/site you set

Up.



Pm me if you want more help.

Create new topic





News and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.