Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. [FOP2][Problems]VisualPhonebook

[FOP2][Problems]VisualPhonebook

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 595 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    I
    IMBAgamble
    wrote on last edited by
    #1

    Hey there,
    I've got one more problem with my visual phonebook. My fop2 version is 2.26 and, as it is written over here _http://fop2.com/documentation-configuration-web.php#VisualPhonebook
    i didn't create any mysql databases/tables by myself. So after runnin' fop2 service, connectin'the web GUI and clickin' visual phonebook button I've got this message:
    "Could not connect/create the phonebook table. Please verify your mysql credentials in config.php".
    So I did. After connectin' to mysql I've found out that there is no fop2 database created. I decided to create it by myself, by followin' the instructions posted here:
    _http://www.fop2.com/documentation-configuration-4.php (in the end of the page).
    After creatin' database (fop2) and tables (fop2recordings, visual_phonebook) and editin' my /var/www/html/fop2/config.php file by addin' $DBHOST/NAME/USER/PASS I restarted mysql and fop2 services. But after clickin' Visual Phonebook button I get the same message:
    "Could not connect/create the phonebook table. Please verify your mysql credentials in config.php"
    Waitin' 4 ur advices guys, thx.
    Cheers, kga.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Are you using FreePBX? You only need to create a database if you are NOT using it.

      Now, if you have created the database and tables and a special db user and pass, and you still get the error, then try to use the mysql command line client with that information to check that you can actually connect to it.

      Something like:

      mysql -u user -pPassword fop2 -e "show tables"

      1 Reply Last reply
      0
      • G
        G
        gianluca
        wrote on last edited by
        #3

        Well,
        I have the same problem. I don't use freepbx so I suppose that is normal that I have to create the DB and the tables and say to FOP2 where to find these information.
        If so where I have to set up these information? In which way? Which is the format of the DB? Is there a documentation for people, like me, that don't use freepbx?

        Thanks so much!

        Gianluca

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          Hi,

          If you do not use freepbx, then you need to create the db , the tables will be autocreated if the mysql user has create permissions, or it will use existing ones. If you still have issues, it is because mysql credentials are wrong somehow.

          So, the only thing you have to change is config.php. Did you try to access mysql from the command line with the same credentials as I have suggested?

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups