Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 12-26-2006, 12:26 AM
econstas's Avatar
Second Lieutenant
 
Join Date: Jul 2006
Location: Durham, NC
Posts: 99
Send a message via AIM to econstas Send a message via MSN to econstas
Default php/sql permissions

Hello, I messed my webcalendar db and now I am having probelms with permission access to the db.

Here is the error message:
Access denied for user 'cncmmdly_wcln1'@'localhost' (using password: YES)

mysql acces is:
Connection StringsPerl$dbh = DBI->connect("DBI:mysql:cncmmdly_wcln1:localhost","cnc mmdly_cncmmdl","<PASSWORD HERE>");PHP$dbh=mysql_connect ("localhost", "cncmmdly_cncmmdl", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("cncmmdly_wcln1");


I am not seeing the pasword option to set the permissions via phpADMIN. I also tried via the console - mysql . I need help.
__________________
Thanks,
Stratis

www.holleyjohnson.net
mailto: stratis.constas@holleyjohnson.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 12-27-2006, 04:52 PM
econstas's Avatar
Second Lieutenant
 
Join Date: Jul 2006
Location: Durham, NC
Posts: 99
Send a message via AIM to econstas Send a message via MSN to econstas
Default Re: php/sql permissions

All,
Fixed it! To anyone that wants to know.

I opened ftp account... clicked on /phpcal folder changed settings so everyone could view webcalender. Then Noticed that there was a file that was hosed. Uninstalled and reinstalled - works fine now.

www.holleyjohnson.net/phpcal/
__________________
Thanks,
Stratis

www.holleyjohnson.net
mailto: stratis.constas@holleyjohnson.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 01-01-2007, 09:49 PM
Private
 
Join Date: Dec 2006
Posts: 1
Default Re: php/sql permissions

I have a problem with php I created a form but when I try to submit it doesn't work can any one could help out thank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 01-01-2007, 10:27 PM
davidundalicia's Avatar
General & Forum Moderator
 
Join Date: Mar 2006
Location: Mallorca, Spain
Posts: 5,283
Default Re: php/sql permissions

Post your script here, and we will have a look at it for you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 02-18-2007, 04:24 PM
Private
 
Join Date: Feb 2007
Posts: 3
Default Re: php/sql permissions

I was in the middle of setting up blogging by email in Wordpress when the vodahost server crashed last night. When it came back up I had over 3500 identical blank posts that I have to delete. I'm using phpadmin thinking it would be faster than manual deletes. However, it will not let me delete more than three records at a time
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 02-18-2007, 05:31 PM
davidundalicia's Avatar
General & Forum Moderator
 
Join Date: Mar 2006
Location: Mallorca, Spain
Posts: 5,283
Default Re: php/sql permissions

When using phpadmin, you can select ALL of the lines on a page(normally 30)
and then hit the delete icon and it will delete ALL selected.

Look at the bottom of the screen to select all first.......

You can also use an sql command to delete ALL records with an id number greater than whatever


be careful.............
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 03-21-2007, 08:17 PM
Watdaflip's Avatar
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,638
Default Re: php/sql permissions

Using phpmyadmin you can also just empty the table (Clears row from it). Just click the link for the table on the left frame, and then once it loads the button at the top (should be second or third from the right) will be "empty", click that and it will do the job
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:35 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176