MYSQL-error Ubuntu Scratch..

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

MYSQL-error Ubuntu Scratch..

Postby ruben23 » Mon Jun 22, 2009 2:42 am

Hi, i Installed Ubuntu Scratch on a single server.

On the Mysql part of the installation:

When i run mysql i fot this error---> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).

and tried another:
root@viciscratch:~# mysql -u cron -p
Enter password:1234
ERROR 1045 (28000): Access denied for user 'cron'@'localhost' (using password: YES)

and also this mysql -u root -p
password:
ERROR 1045 (28000): Access denied for user 'cron'@'localhost' (using password: YES)

BUT WHEN I DO THIS; iwas able to login.but when i execute commands still getting the same error:

mysql -u cron -p
password: ( just leave blank)
mysql>
mysql>use asterisk;
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'asterisk'

BEFORE this mysql i run the agc_2.0.5 branch and speciified localhost, cron, 1234 all are default on the DB side.

anyidea on how resolve this issue.
:(
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Mon Jun 22, 2009 11:50 am

Mysql install on Ubuntu can be a bit strange. What version of Ubuntu are you installing on?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ruben23 » Mon Jun 22, 2009 8:14 pm

I used Ubuntu 8.04 LTS Server as based OS for my vicidial install.

What would i do know- im stock on this process.
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby ruben23 » Mon Jun 22, 2009 8:22 pm

Should i uninstall the mysql package...? how about the agc_2.0.5 can i uninstall it also, would it not corrupt the system at all. :(
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby ruben23 » Mon Jun 22, 2009 9:16 pm

mflorell..? i can now login to mysql using root.

but when i try to use asterisk; it says unknown databased. should i create one..? or its not possible because cron user is existing.
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby williamconley » Mon Jun 22, 2009 10:53 pm

Can you just install using vicibox? It's ubuntu and as long as the box has internet during setup ... you won't have any of these problems. And you can learn mysql next year.

failing that, you'll have to create the proper mysql database, then go through the installation script again with the proper permissions so the vicidial installation will succeed in creating your tables. it's not hard, but it's a lot easier to just install vicibox.

you can also look at the scripts that install vicibox and see how they work.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ruben23 » Mon Jun 22, 2009 11:10 pm

williamconley, the problem is like ive done with viciBox-when i do root password with mysql- i got touble accessing username cron on databased.

ill try reloading and leaving the mysql root admin a blank password. it it will works.
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby williamconley » Mon Jun 22, 2009 11:22 pm

the "root" user for mysql is just for YOU. the cron user is only for vicidial's timed events. you do not ever need to log in as cron. in fact, you should never even log in to mysql with vicibox. no need for it. don't go there.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ruben23 » Tue Jun 23, 2009 12:29 am

ok ill do that but i was able to proceed with my installation- using the mysql on root- able to create asterisk database and input data.

then follow the steps now already DONE.

just for the call testing_hope no more issues with voice. :D
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 94 guests