Database Password

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
csneon2000
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Mar 31, 2014 7:16 am

Database Password

Post by csneon2000 »

Is there a way to change the password to my databases. I keep getting an error when it starts with a number. Below is the error I'm getting.

Parse error: syntax error, unexpected '6' (T_LNUMBER), expecting variable (T_VARIABLE) or '$' in xxx.php on line 41

Thanks for your time.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Database Password

Post by kraze »

The password can be changed via the "passwords" page in your websites control panel. Though, your error doesn't appear to be related to a password glitch. Did you recently make any changes to your script/addon that using a database?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Database Password

Post by soja »

You should be able to encapsulate your password in quotes, or store the password in a variable for use later, again using quotes.
Not a NFO employee
Post Reply